Skip to content

Commit 44990aa

Browse files
azure-sdkChenxiJiang333audunn
authored
[AutoRelease] t2-netapp-2024-10-15-60773(can only be merged by SDK owner) (Azure#37895)
* code and test * Update CHANGELOG.md * Update CHANGELOG.md * manual change * update recordings and tests * Update _models_py3.py --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: Audunn Baldvinsson <[email protected]>
1 parent 7dcaf26 commit 44990aa

File tree

158 files changed

+2353
-453
lines changed

Some content is hidden

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

158 files changed

+2353
-453
lines changed

sdk/netapp/azure-mgmt-netapp/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Release History
22

3+
## 13.3.0 (2024-10-21)
4+
5+
### Features Added
6+
7+
- Model `FilePathAvailabilityRequest` added property `availability_zone`
8+
- Model `ReplicationObject` added property `remote_path`
9+
- Model `Volume` added property `effective_network_features`
10+
- Model `VolumeGroupVolumeProperties` added property `effective_network_features`
11+
- Added model `ClusterPeerCommandResponse`
12+
- Added model `PeerClusterForVolumeMigrationRequest`
13+
- Added model `RemotePath`
14+
- Added model `SvmPeerCommandResponse`
15+
- Operation group `VolumesOperations` added method `begin_authorize_external_replication`
16+
- Operation group `VolumesOperations` added method `begin_finalize_external_replication`
17+
- Operation group `VolumesOperations` added method `begin_peer_external_cluster`
18+
- Operation group `VolumesOperations` added method `begin_perform_replication_transfer`
19+
320
## 13.2.0 (2024-08-19)
421

522
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "8516fa819794ea879bc13bc4137300b67b58de1f",
2+
"commit": "7a848fa439e779117793063aff964d7082a7f6f8",
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/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/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/netapp/azure-mgmt-netapp",
5-
"Tag": "python/netapp/azure-mgmt-netapp_f62048101a"
5+
"Tag": "python/netapp/azure-mgmt-netapp_7f4c96bada"
66
}

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 = "13.3.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)