-
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 45ce1882ee5af7ce8fa4f25cf5f871bc7aa9821b (#3116)
Include DRSecondary endpoint for GetPublishingProfileXml
- Loading branch information
1 parent
0375f0d
commit 5ac171b
Showing
28 changed files
with
1,974 additions
and
1,608 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
60 changes: 60 additions & 0 deletions
60
azure-mgmt-web/azure/mgmt/web/models/azure_storage_info_value.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,60 @@ | ||
# 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 AzureStorageInfoValue(Model): | ||
"""Azure Files or Blob Storage access information value for dictionary | ||
storage. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param type: Type of storage. Possible values include: 'AzureFiles', | ||
'AzureBlob' | ||
:type type: str or ~azure.mgmt.web.models.AzureStorageType | ||
:param account_name: Name of the storage account. | ||
:type account_name: str | ||
:param share_name: Name of the file share (container name, for Blob | ||
storage). | ||
:type share_name: str | ||
:param access_key: Access key for the storage account. | ||
:type access_key: str | ||
:param mount_path: Path to mount the storage within the site's runtime | ||
environment. | ||
:type mount_path: str | ||
:ivar state: State of the storage account. Possible values include: 'Ok', | ||
'InvalidCredentials', 'InvalidShare' | ||
:vartype state: str or ~azure.mgmt.web.models.AzureStorageState | ||
""" | ||
|
||
_validation = { | ||
'state': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'AzureStorageType'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
'share_name': {'key': 'shareName', 'type': 'str'}, | ||
'access_key': {'key': 'accessKey', 'type': 'str'}, | ||
'mount_path': {'key': 'mountPath', 'type': 'str'}, | ||
'state': {'key': 'state', 'type': 'AzureStorageState'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AzureStorageInfoValue, self).__init__(**kwargs) | ||
self.type = kwargs.get('type', None) | ||
self.account_name = kwargs.get('account_name', None) | ||
self.share_name = kwargs.get('share_name', None) | ||
self.access_key = kwargs.get('access_key', None) | ||
self.mount_path = kwargs.get('mount_path', None) | ||
self.state = None |
60 changes: 60 additions & 0 deletions
60
azure-mgmt-web/azure/mgmt/web/models/azure_storage_info_value_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,60 @@ | ||
# 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 AzureStorageInfoValue(Model): | ||
"""Azure Files or Blob Storage access information value for dictionary | ||
storage. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param type: Type of storage. Possible values include: 'AzureFiles', | ||
'AzureBlob' | ||
:type type: str or ~azure.mgmt.web.models.AzureStorageType | ||
:param account_name: Name of the storage account. | ||
:type account_name: str | ||
:param share_name: Name of the file share (container name, for Blob | ||
storage). | ||
:type share_name: str | ||
:param access_key: Access key for the storage account. | ||
:type access_key: str | ||
:param mount_path: Path to mount the storage within the site's runtime | ||
environment. | ||
:type mount_path: str | ||
:ivar state: State of the storage account. Possible values include: 'Ok', | ||
'InvalidCredentials', 'InvalidShare' | ||
:vartype state: str or ~azure.mgmt.web.models.AzureStorageState | ||
""" | ||
|
||
_validation = { | ||
'state': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'AzureStorageType'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
'share_name': {'key': 'shareName', 'type': 'str'}, | ||
'access_key': {'key': 'accessKey', 'type': 'str'}, | ||
'mount_path': {'key': 'mountPath', 'type': 'str'}, | ||
'state': {'key': 'state', 'type': 'AzureStorageState'}, | ||
} | ||
|
||
def __init__(self, *, type=None, account_name: str=None, share_name: str=None, access_key: str=None, mount_path: str=None, **kwargs) -> None: | ||
super(AzureStorageInfoValue, self).__init__(**kwargs) | ||
self.type = type | ||
self.account_name = account_name | ||
self.share_name = share_name | ||
self.access_key = access_key | ||
self.mount_path = mount_path | ||
self.state = None |
49 changes: 49 additions & 0 deletions
49
azure-mgmt-web/azure/mgmt/web/models/azure_storage_property_dictionary_resource.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 .proxy_only_resource import ProxyOnlyResource | ||
|
||
|
||
class AzureStoragePropertyDictionaryResource(ProxyOnlyResource): | ||
"""AzureStorageInfo dictionary resource. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id. | ||
:vartype id: str | ||
:ivar name: Resource Name. | ||
:vartype name: str | ||
:param kind: Kind of resource. | ||
:type kind: str | ||
:ivar type: Resource type. | ||
:vartype type: str | ||
:param properties: Azure storage accounts. | ||
:type properties: dict[str, ~azure.mgmt.web.models.AzureStorageInfoValue] | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'kind': {'key': 'kind', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'properties': {'key': 'properties', 'type': '{AzureStorageInfoValue}'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AzureStoragePropertyDictionaryResource, self).__init__(**kwargs) | ||
self.properties = kwargs.get('properties', None) |
49 changes: 49 additions & 0 deletions
49
azure-mgmt-web/azure/mgmt/web/models/azure_storage_property_dictionary_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,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 .proxy_only_resource_py3 import ProxyOnlyResource | ||
|
||
|
||
class AzureStoragePropertyDictionaryResource(ProxyOnlyResource): | ||
"""AzureStorageInfo dictionary resource. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id. | ||
:vartype id: str | ||
:ivar name: Resource Name. | ||
:vartype name: str | ||
:param kind: Kind of resource. | ||
:type kind: str | ||
:ivar type: Resource type. | ||
:vartype type: str | ||
:param properties: Azure storage accounts. | ||
:type properties: dict[str, ~azure.mgmt.web.models.AzureStorageInfoValue] | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'kind': {'key': 'kind', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'properties': {'key': 'properties', 'type': '{AzureStorageInfoValue}'}, | ||
} | ||
|
||
def __init__(self, *, kind: str=None, properties=None, **kwargs) -> None: | ||
super(AzureStoragePropertyDictionaryResource, self).__init__(kind=kind, **kwargs) | ||
self.properties = properties |
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
Oops, something went wrong.