Skip to content

Commit 9e83288

Browse files
author
SDKAuto
committed
CodeGen from PR 30447 in Azure/azure-rest-api-specs
Merge c10334ee7caa2da3bfdc252507b5be894d460451 into eb55e604dc7ee5de41155bb304028af51a11d2d1
1 parent 62ddf8f commit 9e83288

File tree

155 files changed

+2239
-449
lines changed

Some content is hidden

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

155 files changed

+2239
-449
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "8516fa819794ea879bc13bc4137300b67b58de1f",
2+
"commit": "0516ef6c3e5a4a7d66a2fe3e3d7d20f47b9459d9",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.17.0",
6+
"@autorest/python@6.19.0",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/netapp/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.17.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/netapp/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/netapp/resource-manager/readme.md"
1111
}

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
2828
:type credential: ~azure.core.credentials.TokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
31+
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
3232
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-03-01")
37+
api_version: str = kwargs.pop("api_version", "2024-07-01")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_net_app_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
9292
:type subscription_id: str
9393
:param base_url: Service URL. Default value is "https://management.azure.com".
9494
:type base_url: str
95-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
95+
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
9696
default value may result in unsupported behavior.
9797
:paramtype api_version: str
9898
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_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 = "13.2.0"
9+
VERSION = "5.1.0"

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
31+
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
3232
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-03-01")
37+
api_version: str = kwargs.pop("api_version", "2024-07-01")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_net_app_management_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
9292
:type subscription_id: str
9393
:param base_url: Service URL. Default value is "https://management.azure.com".
9494
:type base_url: str
95-
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
95+
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
9696
default value may result in unsupported behavior.
9797
:paramtype api_version: str
9898
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def check_name_availability(
142142

143143
@distributed_trace_async
144144
async def check_file_path_availability(
145-
self, location: str, name: str, subnet_id: str, **kwargs: Any
145+
self, location: str, name: str, subnet_id: str, availability_zone: Optional[str] = None, **kwargs: Any
146146
) -> _models.CheckAvailabilityResponse:
147147
"""Check file path availability.
148148
@@ -155,6 +155,10 @@ async def check_file_path_availability(
155155
:param subnet_id: The Azure Resource URI for a delegated subnet. Must have the delegation
156156
Microsoft.NetApp/volumes. Required.
157157
:type subnet_id: str
158+
:param availability_zone: The Azure Resource logical availability zone which is used within
159+
zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone
160+
where volume is placed. Default value is None.
161+
:type availability_zone: str
158162
:return: CheckAvailabilityResponse or the result of cls(response)
159163
:rtype: ~azure.mgmt.netapp.models.CheckAvailabilityResponse
160164
:raises ~azure.core.exceptions.HttpResponseError:
@@ -174,7 +178,7 @@ async def check_file_path_availability(
174178
content_type: str = kwargs.pop("content_type", _headers.pop("Content-Type", "application/json"))
175179
cls: ClsType[_models.CheckAvailabilityResponse] = kwargs.pop("cls", None)
176180

177-
_body = _models.FilePathAvailabilityRequest(name=name, subnet_id=subnet_id)
181+
_body = _models.FilePathAvailabilityRequest(availability_zone=availability_zone, name=name, subnet_id=subnet_id)
178182
_json = self._serialize.body(_body, "FilePathAvailabilityRequest")
179183

180184
_request = build_check_file_path_availability_request(

0 commit comments

Comments
 (0)