Skip to content
Open
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
20 changes: 20 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 14.0.1 (2025-11-17)

### Bugs Fixed

- Certain models that were not available in last release version `14.0.0` was removed.
- Model `AccountProperties` deleted or renamed its instance variable `ldap_configuration`
- Model `ReplicationObject` deleted or renamed its instance variable `external_replication_setup_status`
- Model `ReplicationObject` deleted or renamed its instance variable `external_replication_setup_info`
- Model `ReplicationObject` deleted or renamed its instance variable `mirror_state`
- Model `ReplicationObject` deleted or renamed its instance variable `relationship_status`
- Model `VolumeProperties` deleted or renamed its instance variable `ldap_server_type`
- Model `VolumeProperties` deleted or renamed its instance variable `language`
- Deleted or renamed model `ExternalReplicationSetupStatus`
- Deleted or renamed model `LdapConfiguration`
- Deleted or renamed model `LdapServerType`
- Deleted or renamed model `ListQuotaReportResponse`
- Deleted or renamed model `QuotaReport`
- Deleted or renamed model `VolumeLanguage`
- Deleted or renamed method `VolumesOperations.begin_list_quota_report`

## 14.0.0 (2025-11-10)

### Features Added
Expand Down
4 changes: 2 additions & 2 deletions sdk/netapp/azure-mgmt-netapp/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"apiVersion": "2025-09-01",
"commit": "303503695c531db175f23f8e09da2193eff8f701",
"commit": "9cd47a976054f57864cf7cc7dd33941eaa977951",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/netapp/resource-manager/Microsoft.NetApp/NetApp",
"emitterVersion": "0.53.1"
"emitterVersion": "0.53.2"
}
14 changes: 3 additions & 11 deletions sdk/netapp/azure-mgmt-netapp/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
"azure.mgmt.netapp.models.HourlySchedule": "Microsoft.NetApp.HourlySchedule",
"azure.mgmt.netapp.models.KeyVaultPrivateEndpoint": "Microsoft.NetApp.KeyVaultPrivateEndpoint",
"azure.mgmt.netapp.models.KeyVaultProperties": "Microsoft.NetApp.KeyVaultProperties",
"azure.mgmt.netapp.models.LdapConfiguration": "Microsoft.NetApp.LdapConfiguration",
"azure.mgmt.netapp.models.LdapSearchScopeOpt": "Microsoft.NetApp.LdapSearchScopeOpt",
"azure.mgmt.netapp.models.ListQuotaReportResponse": "Microsoft.NetApp.ListQuotaReportResponse",
"azure.mgmt.netapp.models.ListReplicationsRequest": "Microsoft.NetApp.ListReplicationsRequest",
"azure.mgmt.netapp.models.LogSpecification": "Microsoft.NetApp.LogSpecification",
"azure.mgmt.netapp.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
Expand All @@ -70,7 +68,6 @@
"azure.mgmt.netapp.models.QuotaAvailabilityRequest": "Microsoft.NetApp.QuotaAvailabilityRequest",
"azure.mgmt.netapp.models.QuotaItem": "Microsoft.NetApp.QuotaItem",
"azure.mgmt.netapp.models.QuotaItemProperties": "Microsoft.NetApp.QuotaItemProperties",
"azure.mgmt.netapp.models.QuotaReport": "Microsoft.NetApp.QuotaReport",
"azure.mgmt.netapp.models.ReestablishReplicationRequest": "Microsoft.NetApp.ReestablishReplicationRequest",
"azure.mgmt.netapp.models.RegionInfo": "Microsoft.NetApp.RegionInfo",
"azure.mgmt.netapp.models.RegionInfoAvailabilityZoneMappingsItem": "Microsoft.NetApp.RegionInfoAvailabilityZoneMappingsItem",
Expand Down Expand Up @@ -137,28 +134,25 @@
"azure.mgmt.netapp.models.EndpointType": "Microsoft.NetApp.EndpointType",
"azure.mgmt.netapp.models.ReplicationSchedule": "Microsoft.NetApp.ReplicationSchedule",
"azure.mgmt.netapp.models.ReplicationType": "Microsoft.NetApp.ReplicationType",
"azure.mgmt.netapp.models.ExternalReplicationSetupStatus": "Microsoft.NetApp.ExternalReplicationSetupStatus",
"azure.mgmt.netapp.models.MirrorState": "Microsoft.NetApp.MirrorState",
"azure.mgmt.netapp.models.VolumeReplicationRelationshipStatus": "Microsoft.NetApp.VolumeReplicationRelationshipStatus",
"azure.mgmt.netapp.models.AcceptGrowCapacityPoolForShortTermCloneSplit": "Microsoft.NetApp.AcceptGrowCapacityPoolForShortTermCloneSplit",
"azure.mgmt.netapp.models.SecurityStyle": "Microsoft.NetApp.SecurityStyle",
"azure.mgmt.netapp.models.SmbAccessBasedEnumeration": "Microsoft.NetApp.SmbAccessBasedEnumeration",
"azure.mgmt.netapp.models.SmbNonBrowsable": "Microsoft.NetApp.SmbNonBrowsable",
"azure.mgmt.netapp.models.EncryptionKeySource": "Microsoft.NetApp.EncryptionKeySource",
"azure.mgmt.netapp.models.LdapServerType": "Microsoft.NetApp.LdapServerType",
"azure.mgmt.netapp.models.CoolAccessRetrievalPolicy": "Microsoft.NetApp.CoolAccessRetrievalPolicy",
"azure.mgmt.netapp.models.CoolAccessTieringPolicy": "Microsoft.NetApp.CoolAccessTieringPolicy",
"azure.mgmt.netapp.models.FileAccessLogs": "Microsoft.NetApp.FileAccessLogs",
"azure.mgmt.netapp.models.AvsDataStore": "Microsoft.NetApp.AvsDataStore",
"azure.mgmt.netapp.models.EnableSubvolumes": "Microsoft.NetApp.EnableSubvolumes",
"azure.mgmt.netapp.models.VolumeLanguage": "Microsoft.NetApp.VolumeLanguage",
"azure.mgmt.netapp.models.BackupType": "Microsoft.NetApp.BackupType",
"azure.mgmt.netapp.models.VolumeBackupRelationshipStatus": "Microsoft.NetApp.VolumeBackupRelationshipStatus",
"azure.mgmt.netapp.models.MirrorState": "Microsoft.NetApp.MirrorState",
"azure.mgmt.netapp.models.VolumeRestoreRelationshipStatus": "Microsoft.NetApp.VolumeRestoreRelationshipStatus",
"azure.mgmt.netapp.models.VolumeReplicationRelationshipStatus": "Microsoft.NetApp.VolumeReplicationRelationshipStatus",
"azure.mgmt.netapp.models.ReplicationMirrorState": "Microsoft.NetApp.ReplicationMirrorState",
"azure.mgmt.netapp.models.Exclude": "Microsoft.NetApp.Exclude",
"azure.mgmt.netapp.models.Type": "Microsoft.NetApp.Type",
"azure.mgmt.netapp.models.NetAppProvisioningState": "Microsoft.NetApp.NetAppProvisioningState",
"azure.mgmt.netapp.models.Type": "Microsoft.NetApp.Type",
"azure.mgmt.netapp.models.RegionStorageToNetworkProximity": "Microsoft.NetApp.RegionStorageToNetworkProximity",
"azure.mgmt.netapp.models.ActiveDirectoryStatus": "Microsoft.NetApp.ActiveDirectoryStatus",
"azure.mgmt.netapp.models.KeySource": "Microsoft.NetApp.KeySource",
Expand Down Expand Up @@ -253,8 +247,6 @@
"azure.mgmt.netapp.aio.operations.VolumesOperations.begin_finalize_relocation": "Microsoft.NetApp.Volumes.finalizeRelocation",
"azure.mgmt.netapp.operations.VolumesOperations.begin_revert_relocation": "Microsoft.NetApp.Volumes.revertRelocation",
"azure.mgmt.netapp.aio.operations.VolumesOperations.begin_revert_relocation": "Microsoft.NetApp.Volumes.revertRelocation",
"azure.mgmt.netapp.operations.VolumesOperations.begin_list_quota_report": "Microsoft.NetApp.Volumes.listQuotaReport",
"azure.mgmt.netapp.aio.operations.VolumesOperations.begin_list_quota_report": "Microsoft.NetApp.Volumes.listQuotaReport",
"azure.mgmt.netapp.operations.SnapshotsOperations.get": "Microsoft.NetApp.Snapshots.get",
"azure.mgmt.netapp.aio.operations.SnapshotsOperations.get": "Microsoft.NetApp.Snapshots.get",
"azure.mgmt.netapp.operations.SnapshotsOperations.begin_create": "Microsoft.NetApp.Snapshots.create",
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 = "14.0.0"
VERSION = "14.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
build_volumes_finalize_relocation_request,
build_volumes_get_request,
build_volumes_list_get_group_id_list_for_ldap_user_request,
build_volumes_list_quota_report_request,
build_volumes_list_replications_request,
build_volumes_list_request,
build_volumes_peer_external_cluster_request,
Expand Down Expand Up @@ -7039,179 +7038,6 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
)
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore

@api_version_validation(
method_added_on="2025-07-01-preview",
params_added_on={
"2025-07-01-preview": [
"api_version",
"subscription_id",
"resource_group_name",
"account_name",
"pool_name",
"volume_name",
"accept",
]
},
api_versions_list=["2025-07-01-preview", "2025-08-01", "2025-08-01-preview", "2025-09-01"],
)
async def _list_quota_report_initial(
self, resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any
) -> AsyncIterator[bytes]:
error_map: MutableMapping = {
401: ClientAuthenticationError,
404: ResourceNotFoundError,
409: ResourceExistsError,
304: ResourceNotModifiedError,
}
error_map.update(kwargs.pop("error_map", {}) or {})

_headers = kwargs.pop("headers", {}) or {}
_params = kwargs.pop("params", {}) or {}

cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)

_request = build_volumes_list_quota_report_request(
resource_group_name=resource_group_name,
account_name=account_name,
pool_name=pool_name,
volume_name=volume_name,
subscription_id=self._config.subscription_id,
api_version=self._config.api_version,
headers=_headers,
params=_params,
)
path_format_arguments = {
"endpoint": self._serialize.url("self._config.base_url", self._config.base_url, "str", skip_quote=True),
}
_request.url = self._client.format_url(_request.url, **path_format_arguments)

_stream = True
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
_request, stream=_stream, **kwargs
)

response = pipeline_response.http_response

if response.status_code not in [200, 202]:
try:
await response.read() # Load the body in memory and close the socket
except (StreamConsumedError, StreamClosedError):
pass
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = _failsafe_deserialize(
_models.ErrorResponse,
response,
)
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)

response_headers = {}
if response.status_code == 202:
response_headers["Azure-AsyncOperation"] = self._deserialize(
"str", response.headers.get("Azure-AsyncOperation")
)
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
response_headers["Retry-After"] = self._deserialize("int", response.headers.get("Retry-After"))

deserialized = response.iter_bytes()

if cls:
return cls(pipeline_response, deserialized, response_headers) # type: ignore

return deserialized # type: ignore

@distributed_trace_async
@api_version_validation(
method_added_on="2025-07-01-preview",
params_added_on={
"2025-07-01-preview": [
"api_version",
"subscription_id",
"resource_group_name",
"account_name",
"pool_name",
"volume_name",
"accept",
]
},
api_versions_list=["2025-07-01-preview", "2025-08-01", "2025-08-01-preview", "2025-09-01"],
)
async def begin_list_quota_report(
self, resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any
) -> AsyncLROPoller[_models.ListQuotaReportResponse]:
"""A long-running resource action.

:param resource_group_name: The name of the resource group. The name is case insensitive.
Required.
:type resource_group_name: str
:param account_name: The name of the NetApp account. Required.
:type account_name: str
:param pool_name: The name of the capacity pool. Required.
:type pool_name: str
:param volume_name: The name of the volume. Required.
:type volume_name: str
:return: An instance of AsyncLROPoller that returns ListQuotaReportResponse. The
ListQuotaReportResponse is compatible with MutableMapping
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.netapp.models.ListQuotaReportResponse]
:raises ~azure.core.exceptions.HttpResponseError:
"""
_headers = kwargs.pop("headers", {}) or {}
_params = kwargs.pop("params", {}) or {}

cls: ClsType[_models.ListQuotaReportResponse] = kwargs.pop("cls", None)
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
cont_token: Optional[str] = kwargs.pop("continuation_token", None)
if cont_token is None:
raw_result = await self._list_quota_report_initial(
resource_group_name=resource_group_name,
account_name=account_name,
pool_name=pool_name,
volume_name=volume_name,
cls=lambda x, y, z: x,
headers=_headers,
params=_params,
**kwargs
)
await raw_result.http_response.read() # type: ignore
kwargs.pop("error_map", None)

def get_long_running_output(pipeline_response):
response_headers = {}
response = pipeline_response.http_response
response_headers["Azure-AsyncOperation"] = self._deserialize(
"str", response.headers.get("Azure-AsyncOperation")
)
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
response_headers["Retry-After"] = self._deserialize("int", response.headers.get("Retry-After"))

deserialized = _deserialize(_models.ListQuotaReportResponse, response.json())
if cls:
return cls(pipeline_response, deserialized, response_headers) # type: ignore
return deserialized

path_format_arguments = {
"endpoint": self._serialize.url("self._config.base_url", self._config.base_url, "str", skip_quote=True),
}

if polling is True:
polling_method: AsyncPollingMethod = cast(
AsyncPollingMethod, AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs)
)
elif polling is False:
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
else:
polling_method = polling
if cont_token:
return AsyncLROPoller[_models.ListQuotaReportResponse].from_continuation_token(
polling_method=polling_method,
continuation_token=cont_token,
client=self._client,
deserialization_callback=get_long_running_output,
)
return AsyncLROPoller[_models.ListQuotaReportResponse](
self._client, raw_result, get_long_running_output, polling_method # type: ignore
)


class SnapshotsOperations:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@
HourlySchedule,
KeyVaultPrivateEndpoint,
KeyVaultProperties,
LdapConfiguration,
LdapSearchScopeOpt,
ListQuotaReportResponse,
ListReplicationsRequest,
LogSpecification,
ManagedServiceIdentity,
Expand All @@ -81,7 +79,6 @@
QuotaAvailabilityRequest,
QuotaItem,
QuotaItemProperties,
QuotaReport,
ReestablishReplicationRequest,
RegionInfo,
RegionInfoAvailabilityZoneMappingsItem,
Expand Down Expand Up @@ -159,12 +156,10 @@
EncryptionType,
EndpointType,
Exclude,
ExternalReplicationSetupStatus,
FileAccessLogs,
InAvailabilityReasonType,
KeySource,
KeyVaultStatus,
LdapServerType,
ManagedServiceIdentityType,
MetricAggregationType,
MirrorState,
Expand All @@ -183,7 +178,6 @@
SmbNonBrowsable,
Type,
VolumeBackupRelationshipStatus,
VolumeLanguage,
VolumeReplicationRelationshipStatus,
VolumeRestoreRelationshipStatus,
VolumeStorageToNetworkProximity,
Expand Down Expand Up @@ -234,9 +228,7 @@
"HourlySchedule",
"KeyVaultPrivateEndpoint",
"KeyVaultProperties",
"LdapConfiguration",
"LdapSearchScopeOpt",
"ListQuotaReportResponse",
"ListReplicationsRequest",
"LogSpecification",
"ManagedServiceIdentity",
Expand All @@ -260,7 +252,6 @@
"QuotaAvailabilityRequest",
"QuotaItem",
"QuotaItemProperties",
"QuotaReport",
"ReestablishReplicationRequest",
"RegionInfo",
"RegionInfoAvailabilityZoneMappingsItem",
Expand Down Expand Up @@ -335,12 +326,10 @@
"EncryptionType",
"EndpointType",
"Exclude",
"ExternalReplicationSetupStatus",
"FileAccessLogs",
"InAvailabilityReasonType",
"KeySource",
"KeyVaultStatus",
"LdapServerType",
"ManagedServiceIdentityType",
"MetricAggregationType",
"MirrorState",
Expand All @@ -359,7 +348,6 @@
"SmbNonBrowsable",
"Type",
"VolumeBackupRelationshipStatus",
"VolumeLanguage",
"VolumeReplicationRelationshipStatus",
"VolumeRestoreRelationshipStatus",
"VolumeStorageToNetworkProximity",
Expand Down
Loading