1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
class GatewayProfile(Model):
"""JSON properties that the gateway service uses know how to communicate with
the resource.
:param data_plane_service_base_address: The Dataplane connection URL.
:type data_plane_service_base_address: str
:param gateway_id: The ID of the gateway.
:type gateway_id: str
:param environment: The environment for the gateway (DEV, DogFood, or
Production).
:type environment: str
:param upgrade_manifest_url: Gateway upgrade manifest URL.
:type upgrade_manifest_url: str
:param messaging_namespace: Messaging namespace.
:type messaging_namespace: str
:param messaging_account: Messaging Account.
:type messaging_account: str
:param messaging_key: Messaging Key.
:type messaging_key: str
:param request_queue: Request queue name.
:type request_queue: str
:param response_topic: Response topic name.
:type response_topic: str
:param status_blob_signature: The gateway status blob SAS URL.
:type status_blob_signature: str
"""
_attribute_map = {
'data_plane_service_base_address': {'key': 'dataPlaneServiceBaseAddress', 'type': 'str'},
'gateway_id': {'key': 'gatewayId', 'type': 'str'},
'environment': {'key': 'environment', 'type': 'str'},
'upgrade_manifest_url': {'key': 'upgradeManifestUrl', 'type': 'str'},
'messaging_namespace': {'key': 'messagingNamespace', 'type': 'str'},
'messaging_account': {'key': 'messagingAccount', 'type': 'str'},
'messaging_key': {'key': 'messagingKey', 'type': 'str'},
'request_queue': {'key': 'requestQueue', 'type': 'str'},
'response_topic': {'key': 'responseTopic', 'type': 'str'},
'status_blob_signature': {'key': 'statusBlobSignature', 'type': 'str'},
}
def __init__(self, **kwargs):
super(GatewayProfile, self).__init__(**kwargs)
self.data_plane_service_base_address = kwargs.get('data_plane_service_base_address', None)
self.gateway_id = kwargs.get('gateway_id', None)
self.environment = kwargs.get('environment', None)
self.upgrade_manifest_url = kwargs.get('upgrade_manifest_url', None)
self.messaging_namespace = kwargs.get('messaging_namespace', None)
self.messaging_account = kwargs.get('messaging_account', None)
self.messaging_key = kwargs.get('messaging_key', None)
self.request_queue = kwargs.get('request_queue', None)
self.response_topic = kwargs.get('response_topic', None)
self.status_blob_signature = kwargs.get('status_blob_signature', None)
|