-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] servermanagement/resource-manager (#2638)
* Generated from 300bab4809ca4ab7cf066367d26f77f311c9724b (#2636) Fix ServerManager Py Conf * Server Manager auto packaging * azure-mgmt-servermanager 2.0.0 * Regenerate ServerManager auto packaging
- Loading branch information
1 parent
ce3fc09
commit d3ae137
Showing
58 changed files
with
2,357 additions
and
927 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
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
Oops, something went wrong.