Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Release History

## 13.3.0 (2024-10-21)

### Features Added

- Model `FilePathAvailabilityRequest` added property `availability_zone`
- Model `ReplicationObject` added property `remote_path`
- Model `Volume` added property `effective_network_features`
- Model `VolumeGroupVolumeProperties` added property `effective_network_features`
- Added model `ClusterPeerCommandResponse`
- Added model `PeerClusterForVolumeMigrationRequest`
- Added model `RemotePath`
- Added model `SvmPeerCommandResponse`
- Operation group `VolumesOperations` added method `begin_authorize_external_replication`
- Operation group `VolumesOperations` added method `begin_finalize_external_replication`
- Operation group `VolumesOperations` added method `begin_peer_external_cluster`
- Operation group `VolumesOperations` added method `begin_perform_replication_transfer`

## 13.2.0 (2024-08-19)

### Features Added
Expand Down
6 changes: 3 additions & 3 deletions sdk/netapp/azure-mgmt-netapp/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "8516fa819794ea879bc13bc4137300b67b58de1f",
"commit": "7a848fa439e779117793063aff964d7082a7f6f8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.17.0",
"@autorest/python@6.19.0",
"@autorest/modelerfour@4.27.0"
],
"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/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"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/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/netapp/resource-manager/readme.md"
}
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/netapp/azure-mgmt-netapp",
"Tag": "python/netapp/azure-mgmt-netapp_f62048101a"
"Tag": "python/netapp/azure-mgmt-netapp_7f4c96bada"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "13.2.0"
VERSION = "13.3.0"
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2024-03-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2024-07-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async def check_name_availability(

@distributed_trace_async
async def check_file_path_availability(
self, location: str, name: str, subnet_id: str, **kwargs: Any
self, location: str, name: str, subnet_id: str, availability_zone: Optional[str] = None, **kwargs: Any
) -> _models.CheckAvailabilityResponse:
"""Check file path availability.

Expand All @@ -155,6 +155,10 @@ async def check_file_path_availability(
:param subnet_id: The Azure Resource URI for a delegated subnet. Must have the delegation
Microsoft.NetApp/volumes. Required.
:type subnet_id: str
:param availability_zone: The Azure Resource logical availability zone which is used within
zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone
where volume is placed. Default value is None.
:type availability_zone: str
:return: CheckAvailabilityResponse or the result of cls(response)
:rtype: ~azure.mgmt.netapp.models.CheckAvailabilityResponse
:raises ~azure.core.exceptions.HttpResponseError:
Expand All @@ -174,7 +178,7 @@ async def check_file_path_availability(
content_type: str = kwargs.pop("content_type", _headers.pop("Content-Type", "application/json"))
cls: ClsType[_models.CheckAvailabilityResponse] = kwargs.pop("cls", None)

_body = _models.FilePathAvailabilityRequest(name=name, subnet_id=subnet_id)
_body = _models.FilePathAvailabilityRequest(availability_zone=availability_zone, name=name, subnet_id=subnet_id)
_json = self._serialize.body(_body, "FilePathAvailabilityRequest")

_request = build_check_file_path_availability_request(
Expand Down
Loading