-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 300bab4809ca4ab7cf066367d26f77f311c9724b (#2636)
Fix ServerManager Py Conf
- Loading branch information
1 parent
7f93bcf
commit 097cd02
Showing
54 changed files
with
2,308 additions
and
918 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
azure-mgmt-servermanager/azure/mgmt/servermanager/models/encryption_jwk_resource_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# 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 EncryptionJwkResource(Model): | ||
"""The public key of the gateway. | ||
:param kty: | ||
:type kty: str | ||
:param alg: | ||
:type alg: str | ||
:param e: | ||
:type e: str | ||
:param n: | ||
:type n: str | ||
""" | ||
|
||
_attribute_map = { | ||
'kty': {'key': 'kty', 'type': 'str'}, | ||
'alg': {'key': 'alg', 'type': 'str'}, | ||
'e': {'key': 'e', 'type': 'str'}, | ||
'n': {'key': 'n', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, kty: str=None, alg: str=None, e: str=None, n: str=None, **kwargs) -> None: | ||
super(EncryptionJwkResource, self).__init__(**kwargs) | ||
self.kty = kty | ||
self.alg = alg | ||
self.e = e | ||
self.n = n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
azure-mgmt-servermanager/azure/mgmt/servermanager/models/error_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# 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 | ||
from msrest.exceptions import HttpOperationError | ||
|
||
|
||
class Error(Model): | ||
"""Error message. | ||
:param code: | ||
:type code: int | ||
:param message: | ||
:type message: str | ||
:param fields: | ||
:type fields: str | ||
""" | ||
|
||
_attribute_map = { | ||
'code': {'key': 'code', 'type': 'int'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
'fields': {'key': 'fields', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, code: int=None, message: str=None, fields: str=None, **kwargs) -> None: | ||
super(Error, self).__init__(**kwargs) | ||
self.code = code | ||
self.message = message | ||
self.fields = fields | ||
|
||
|
||
class ErrorException(HttpOperationError): | ||
"""Server responsed with exception of type: 'Error'. | ||
:param deserialize: A deserializer | ||
:param response: Server response to be deserialized. | ||
""" | ||
|
||
def __init__(self, deserialize, response, *args): | ||
|
||
super(ErrorException, self).__init__(deserialize, response, 'Error', *args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
azure-mgmt-servermanager/azure/mgmt/servermanager/models/gateway_parameters_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# 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 GatewayParameters(Model): | ||
"""Collection of parameters for operations on a gateway resource. | ||
:param location: Location of the resource. | ||
:type location: str | ||
:param tags: Resource tags. | ||
:type tags: object | ||
:param upgrade_mode: The upgradeMode property gives the flexibility to | ||
gateway to auto upgrade itself. If properties value not specified, then we | ||
assume upgradeMode = Automatic. Possible values include: 'Manual', | ||
'Automatic' | ||
:type upgrade_mode: str or ~azure.mgmt.servermanager.models.UpgradeMode | ||
""" | ||
|
||
_attribute_map = { | ||
'location': {'key': 'location', 'type': 'str'}, | ||
'tags': {'key': 'tags', 'type': 'object'}, | ||
'upgrade_mode': {'key': 'properties.upgradeMode', 'type': 'UpgradeMode'}, | ||
} | ||
|
||
def __init__(self, *, location: str=None, tags=None, upgrade_mode=None, **kwargs) -> None: | ||
super(GatewayParameters, self).__init__(**kwargs) | ||
self.location = location | ||
self.tags = tags | ||
self.upgrade_mode = upgrade_mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
azure-mgmt-servermanager/azure/mgmt/servermanager/models/gateway_profile_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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, *, data_plane_service_base_address: str=None, gateway_id: str=None, environment: str=None, upgrade_manifest_url: str=None, messaging_namespace: str=None, messaging_account: str=None, messaging_key: str=None, request_queue: str=None, response_topic: str=None, status_blob_signature: str=None, **kwargs) -> None: | ||
super(GatewayProfile, self).__init__(**kwargs) | ||
self.data_plane_service_base_address = data_plane_service_base_address | ||
self.gateway_id = gateway_id | ||
self.environment = environment | ||
self.upgrade_manifest_url = upgrade_manifest_url | ||
self.messaging_namespace = messaging_namespace | ||
self.messaging_account = messaging_account | ||
self.messaging_key = messaging_key | ||
self.request_queue = request_queue | ||
self.response_topic = response_topic | ||
self.status_blob_signature = status_blob_signature |
Oops, something went wrong.