Skip to content

Commit c650d31

Browse files
author
SDKAuto
committed
CodeGen from PR 17264 in Azure/azure-rest-api-specs
Merge 44e972093cbe81f78e00ed61949ce849b6f95d71 into 14007e94fb70fa6b401deba1c4b16f9fba71340b
1 parent ecc852e commit c650d31

File tree

77 files changed

+37331
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+37331
-31
lines changed

sdk/appplatform/azure-mgmt-appplatform/_meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "1659cfde425308fc46b5f2cd962c3be40ba04ace",
7+
"commit": "9feed5faf390808c449c202242d7f49de9dbe89b",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/appplatform/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
9+
"autorest_command": "autorest specification/appplatform/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/appplatform/resource-manager/readme.md"
1111
}

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/_app_platform_management_client.py

Lines changed: 73 additions & 0 deletions
Large diffs are not rendered by default.

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/aio/_app_platform_management_client.py

Lines changed: 73 additions & 0 deletions
Large diffs are not rendered by default.

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_07_01/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0"
9+
VERSION = "6.1.0"

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_11_01_preview/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0"
9+
VERSION = "6.1.0"

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0"
9+
VERSION = "6.1.0"

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0"
9+
VERSION = "6.1.0"

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/models/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,12 @@
108108
ResourceSkuRestrictionsType,
109109
RuntimeVersion,
110110
SkuScaleType,
111+
StorageType,
111112
SupportedRuntimePlatform,
112113
SupportedRuntimeValue,
113114
TestKeyType,
114115
TrafficDirection,
116+
Type,
115117
UserSourceType,
116118
)
117119

@@ -215,9 +217,11 @@
215217
'ResourceSkuRestrictionsType',
216218
'RuntimeVersion',
217219
'SkuScaleType',
220+
'StorageType',
218221
'SupportedRuntimePlatform',
219222
'SupportedRuntimeValue',
220223
'TestKeyType',
221224
'TrafficDirection',
225+
'Type',
222226
'UserSourceType',
223227
]

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/models/_app_platform_management_client_enums.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
9797

9898
CREATING = "Creating"
9999
UPDATING = "Updating"
100+
STARTING = "Starting"
101+
STOPPING = "Stopping"
100102
DELETING = "Deleting"
101103
DELETED = "Deleted"
102104
SUCCEEDED = "Succeeded"
@@ -136,6 +138,12 @@ class SkuScaleType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
136138
MANUAL = "Manual"
137139
AUTOMATIC = "Automatic"
138140

141+
class StorageType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
142+
"""The type of the storage.
143+
"""
144+
145+
STORAGE_ACCOUNT = "StorageAccount"
146+
139147
class SupportedRuntimePlatform(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
140148
"""The platform of this runtime version (possible values: "Java" or ".NET").
141149
"""
@@ -165,6 +173,12 @@ class TrafficDirection(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
165173
INBOUND = "Inbound"
166174
OUTBOUND = "Outbound"
167175

176+
class Type(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
177+
"""The type of the underlying resource to mount as a persistent disk.
178+
"""
179+
180+
AZURE_FILE_VOLUME = "AzureFileVolume"
181+
168182
class UserSourceType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
169183
"""Type of the source uploaded
170184
"""

sdk/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview/models/_models_py3.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ class CustomPersistentDiskProperties(msrest.serialization.Model):
382382
All required parameters must be populated in order to send to Azure.
383383
384384
:ivar type: Required. The type of the underlying resource to mount as a persistent
385-
disk.Constant filled by server.
386-
:vartype type: str
385+
disk.Constant filled by server. Possible values include: "AzureFileVolume".
386+
:vartype type: str or ~azure.mgmt.appplatform.v2021_09_01_preview.models.Type
387387
:ivar mount_path: Required. The mount path of the persistent disk.
388388
:vartype mount_path: str
389389
:ivar read_only: Indicates whether the persistent disk is a readOnly one.
@@ -437,8 +437,8 @@ class AzureFileVolume(CustomPersistentDiskProperties):
437437
All required parameters must be populated in order to send to Azure.
438438
439439
:ivar type: Required. The type of the underlying resource to mount as a persistent
440-
disk.Constant filled by server.
441-
:vartype type: str
440+
disk.Constant filled by server. Possible values include: "AzureFileVolume".
441+
:vartype type: str or ~azure.mgmt.appplatform.v2021_09_01_preview.models.Type
442442
:ivar mount_path: Required. The mount path of the persistent disk.
443443
:vartype mount_path: str
444444
:ivar read_only: Indicates whether the persistent disk is a readOnly one.
@@ -838,8 +838,8 @@ class ClusterResourceProperties(msrest.serialization.Model):
838838
Variables are only populated by the server, and will be ignored when sending a request.
839839
840840
:ivar provisioning_state: Provisioning state of the Service. Possible values include:
841-
"Creating", "Updating", "Deleting", "Deleted", "Succeeded", "Failed", "Moving", "Moved",
842-
"MoveFailed".
841+
"Creating", "Updating", "Starting", "Stopping", "Deleting", "Deleted", "Succeeded", "Failed",
842+
"Moving", "Moved", "MoveFailed".
843843
:vartype provisioning_state: str or
844844
~azure.mgmt.appplatform.v2021_09_01_preview.models.ProvisioningState
845845
:ivar network_profile: Network profile of the Service.
@@ -3660,8 +3660,9 @@ class StorageProperties(msrest.serialization.Model):
36603660
36613661
All required parameters must be populated in order to send to Azure.
36623662
3663-
:ivar storage_type: Required. The type of the storage.Constant filled by server.
3664-
:vartype storage_type: str
3663+
:ivar storage_type: Required. The type of the storage.Constant filled by server. Possible
3664+
values include: "StorageAccount".
3665+
:vartype storage_type: str or ~azure.mgmt.appplatform.v2021_09_01_preview.models.StorageType
36653666
"""
36663667

36673668
_validation = {
@@ -3691,8 +3692,9 @@ class StorageAccount(StorageProperties):
36913692
36923693
All required parameters must be populated in order to send to Azure.
36933694
3694-
:ivar storage_type: Required. The type of the storage.Constant filled by server.
3695-
:vartype storage_type: str
3695+
:ivar storage_type: Required. The type of the storage.Constant filled by server. Possible
3696+
values include: "StorageAccount".
3697+
:vartype storage_type: str or ~azure.mgmt.appplatform.v2021_09_01_preview.models.StorageType
36963698
:ivar account_name: Required. The account name of the Azure Storage Account.
36973699
:vartype account_name: str
36983700
:ivar account_key: Required. The account key of the Azure Storage Account.

0 commit comments

Comments
 (0)