Skip to content

Commit 843b66f

Browse files
[AutoPR azure-mgmt-netapp]-generated-from-SDK Generation - Python-5574882 (#44043)
* Configurations: 'specification/netapp/resource-manager/Microsoft.NetApp/NetApp/tspconfig.yaml', API Version: 2025-09-01, SDK Release Type: stable, and CommitSHA: 'dbdbc75c548071c0f5f0bdfae18dd1b31a7ab95a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5574882 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/netapp/resource-manager/Microsoft.NetApp/NetApp/tspconfig.yaml', API Version: 2025-09-01, SDK Release Type: stable, and CommitSHA: '9cd47a976054f57864cf7cc7dd33941eaa977951' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5578697 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update changelog * Update CHANGELOG.md * Update _version.py --------- Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 9486728 commit 843b66f

17 files changed

+27
-948
lines changed

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

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

3+
## 14.0.1 (2025-11-17)
4+
5+
### Bugs Fixed
6+
7+
- Certain models that were not available in last release version `14.0.0` was removed.
8+
- Model `AccountProperties` deleted or renamed its instance variable `ldap_configuration`
9+
- Model `ReplicationObject` deleted or renamed its instance variable `external_replication_setup_status`
10+
- Model `ReplicationObject` deleted or renamed its instance variable `external_replication_setup_info`
11+
- Model `ReplicationObject` deleted or renamed its instance variable `mirror_state`
12+
- Model `ReplicationObject` deleted or renamed its instance variable `relationship_status`
13+
- Model `VolumeProperties` deleted or renamed its instance variable `ldap_server_type`
14+
- Model `VolumeProperties` deleted or renamed its instance variable `language`
15+
- Deleted or renamed model `ExternalReplicationSetupStatus`
16+
- Deleted or renamed model `LdapConfiguration`
17+
- Deleted or renamed model `LdapServerType`
18+
- Deleted or renamed model `ListQuotaReportResponse`
19+
- Deleted or renamed model `QuotaReport`
20+
- Deleted or renamed model `VolumeLanguage`
21+
- Deleted or renamed method `VolumesOperations.begin_list_quota_report`
22+
323
## 14.0.0 (2025-11-10)
424

525
### Features Added
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"apiVersion": "2025-09-01",
3-
"commit": "303503695c531db175f23f8e09da2193eff8f701",
3+
"commit": "9cd47a976054f57864cf7cc7dd33941eaa977951",
44
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
55
"typespec_src": "specification/netapp/resource-manager/Microsoft.NetApp/NetApp",
6-
"emitterVersion": "0.53.1"
6+
"emitterVersion": "0.53.2"
77
}

sdk/netapp/azure-mgmt-netapp/apiview-properties.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@
4545
"azure.mgmt.netapp.models.HourlySchedule": "Microsoft.NetApp.HourlySchedule",
4646
"azure.mgmt.netapp.models.KeyVaultPrivateEndpoint": "Microsoft.NetApp.KeyVaultPrivateEndpoint",
4747
"azure.mgmt.netapp.models.KeyVaultProperties": "Microsoft.NetApp.KeyVaultProperties",
48-
"azure.mgmt.netapp.models.LdapConfiguration": "Microsoft.NetApp.LdapConfiguration",
4948
"azure.mgmt.netapp.models.LdapSearchScopeOpt": "Microsoft.NetApp.LdapSearchScopeOpt",
50-
"azure.mgmt.netapp.models.ListQuotaReportResponse": "Microsoft.NetApp.ListQuotaReportResponse",
5149
"azure.mgmt.netapp.models.ListReplicationsRequest": "Microsoft.NetApp.ListReplicationsRequest",
5250
"azure.mgmt.netapp.models.LogSpecification": "Microsoft.NetApp.LogSpecification",
5351
"azure.mgmt.netapp.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
@@ -70,7 +68,6 @@
7068
"azure.mgmt.netapp.models.QuotaAvailabilityRequest": "Microsoft.NetApp.QuotaAvailabilityRequest",
7169
"azure.mgmt.netapp.models.QuotaItem": "Microsoft.NetApp.QuotaItem",
7270
"azure.mgmt.netapp.models.QuotaItemProperties": "Microsoft.NetApp.QuotaItemProperties",
73-
"azure.mgmt.netapp.models.QuotaReport": "Microsoft.NetApp.QuotaReport",
7471
"azure.mgmt.netapp.models.ReestablishReplicationRequest": "Microsoft.NetApp.ReestablishReplicationRequest",
7572
"azure.mgmt.netapp.models.RegionInfo": "Microsoft.NetApp.RegionInfo",
7673
"azure.mgmt.netapp.models.RegionInfoAvailabilityZoneMappingsItem": "Microsoft.NetApp.RegionInfoAvailabilityZoneMappingsItem",
@@ -137,28 +134,25 @@
137134
"azure.mgmt.netapp.models.EndpointType": "Microsoft.NetApp.EndpointType",
138135
"azure.mgmt.netapp.models.ReplicationSchedule": "Microsoft.NetApp.ReplicationSchedule",
139136
"azure.mgmt.netapp.models.ReplicationType": "Microsoft.NetApp.ReplicationType",
140-
"azure.mgmt.netapp.models.ExternalReplicationSetupStatus": "Microsoft.NetApp.ExternalReplicationSetupStatus",
141-
"azure.mgmt.netapp.models.MirrorState": "Microsoft.NetApp.MirrorState",
142-
"azure.mgmt.netapp.models.VolumeReplicationRelationshipStatus": "Microsoft.NetApp.VolumeReplicationRelationshipStatus",
143137
"azure.mgmt.netapp.models.AcceptGrowCapacityPoolForShortTermCloneSplit": "Microsoft.NetApp.AcceptGrowCapacityPoolForShortTermCloneSplit",
144138
"azure.mgmt.netapp.models.SecurityStyle": "Microsoft.NetApp.SecurityStyle",
145139
"azure.mgmt.netapp.models.SmbAccessBasedEnumeration": "Microsoft.NetApp.SmbAccessBasedEnumeration",
146140
"azure.mgmt.netapp.models.SmbNonBrowsable": "Microsoft.NetApp.SmbNonBrowsable",
147141
"azure.mgmt.netapp.models.EncryptionKeySource": "Microsoft.NetApp.EncryptionKeySource",
148-
"azure.mgmt.netapp.models.LdapServerType": "Microsoft.NetApp.LdapServerType",
149142
"azure.mgmt.netapp.models.CoolAccessRetrievalPolicy": "Microsoft.NetApp.CoolAccessRetrievalPolicy",
150143
"azure.mgmt.netapp.models.CoolAccessTieringPolicy": "Microsoft.NetApp.CoolAccessTieringPolicy",
151144
"azure.mgmt.netapp.models.FileAccessLogs": "Microsoft.NetApp.FileAccessLogs",
152145
"azure.mgmt.netapp.models.AvsDataStore": "Microsoft.NetApp.AvsDataStore",
153146
"azure.mgmt.netapp.models.EnableSubvolumes": "Microsoft.NetApp.EnableSubvolumes",
154-
"azure.mgmt.netapp.models.VolumeLanguage": "Microsoft.NetApp.VolumeLanguage",
155147
"azure.mgmt.netapp.models.BackupType": "Microsoft.NetApp.BackupType",
156148
"azure.mgmt.netapp.models.VolumeBackupRelationshipStatus": "Microsoft.NetApp.VolumeBackupRelationshipStatus",
149+
"azure.mgmt.netapp.models.MirrorState": "Microsoft.NetApp.MirrorState",
157150
"azure.mgmt.netapp.models.VolumeRestoreRelationshipStatus": "Microsoft.NetApp.VolumeRestoreRelationshipStatus",
151+
"azure.mgmt.netapp.models.VolumeReplicationRelationshipStatus": "Microsoft.NetApp.VolumeReplicationRelationshipStatus",
158152
"azure.mgmt.netapp.models.ReplicationMirrorState": "Microsoft.NetApp.ReplicationMirrorState",
159153
"azure.mgmt.netapp.models.Exclude": "Microsoft.NetApp.Exclude",
160-
"azure.mgmt.netapp.models.Type": "Microsoft.NetApp.Type",
161154
"azure.mgmt.netapp.models.NetAppProvisioningState": "Microsoft.NetApp.NetAppProvisioningState",
155+
"azure.mgmt.netapp.models.Type": "Microsoft.NetApp.Type",
162156
"azure.mgmt.netapp.models.RegionStorageToNetworkProximity": "Microsoft.NetApp.RegionStorageToNetworkProximity",
163157
"azure.mgmt.netapp.models.ActiveDirectoryStatus": "Microsoft.NetApp.ActiveDirectoryStatus",
164158
"azure.mgmt.netapp.models.KeySource": "Microsoft.NetApp.KeySource",
@@ -253,8 +247,6 @@
253247
"azure.mgmt.netapp.aio.operations.VolumesOperations.begin_finalize_relocation": "Microsoft.NetApp.Volumes.finalizeRelocation",
254248
"azure.mgmt.netapp.operations.VolumesOperations.begin_revert_relocation": "Microsoft.NetApp.Volumes.revertRelocation",
255249
"azure.mgmt.netapp.aio.operations.VolumesOperations.begin_revert_relocation": "Microsoft.NetApp.Volumes.revertRelocation",
256-
"azure.mgmt.netapp.operations.VolumesOperations.begin_list_quota_report": "Microsoft.NetApp.Volumes.listQuotaReport",
257-
"azure.mgmt.netapp.aio.operations.VolumesOperations.begin_list_quota_report": "Microsoft.NetApp.Volumes.listQuotaReport",
258250
"azure.mgmt.netapp.operations.SnapshotsOperations.get": "Microsoft.NetApp.Snapshots.get",
259251
"azure.mgmt.netapp.aio.operations.SnapshotsOperations.get": "Microsoft.NetApp.Snapshots.get",
260252
"azure.mgmt.netapp.operations.SnapshotsOperations.begin_create": "Microsoft.NetApp.Snapshots.create",

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 = "14.0.0"
9+
VERSION = "14.0.1"

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

Lines changed: 0 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
build_volumes_finalize_relocation_request,
127127
build_volumes_get_request,
128128
build_volumes_list_get_group_id_list_for_ldap_user_request,
129-
build_volumes_list_quota_report_request,
130129
build_volumes_list_replications_request,
131130
build_volumes_list_request,
132131
build_volumes_peer_external_cluster_request,
@@ -7039,179 +7038,6 @@ def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-
70397038
)
70407039
return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
70417040

7042-
@api_version_validation(
7043-
method_added_on="2025-07-01-preview",
7044-
params_added_on={
7045-
"2025-07-01-preview": [
7046-
"api_version",
7047-
"subscription_id",
7048-
"resource_group_name",
7049-
"account_name",
7050-
"pool_name",
7051-
"volume_name",
7052-
"accept",
7053-
]
7054-
},
7055-
api_versions_list=["2025-07-01-preview", "2025-08-01", "2025-08-01-preview", "2025-09-01"],
7056-
)
7057-
async def _list_quota_report_initial(
7058-
self, resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any
7059-
) -> AsyncIterator[bytes]:
7060-
error_map: MutableMapping = {
7061-
401: ClientAuthenticationError,
7062-
404: ResourceNotFoundError,
7063-
409: ResourceExistsError,
7064-
304: ResourceNotModifiedError,
7065-
}
7066-
error_map.update(kwargs.pop("error_map", {}) or {})
7067-
7068-
_headers = kwargs.pop("headers", {}) or {}
7069-
_params = kwargs.pop("params", {}) or {}
7070-
7071-
cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)
7072-
7073-
_request = build_volumes_list_quota_report_request(
7074-
resource_group_name=resource_group_name,
7075-
account_name=account_name,
7076-
pool_name=pool_name,
7077-
volume_name=volume_name,
7078-
subscription_id=self._config.subscription_id,
7079-
api_version=self._config.api_version,
7080-
headers=_headers,
7081-
params=_params,
7082-
)
7083-
path_format_arguments = {
7084-
"endpoint": self._serialize.url("self._config.base_url", self._config.base_url, "str", skip_quote=True),
7085-
}
7086-
_request.url = self._client.format_url(_request.url, **path_format_arguments)
7087-
7088-
_stream = True
7089-
pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
7090-
_request, stream=_stream, **kwargs
7091-
)
7092-
7093-
response = pipeline_response.http_response
7094-
7095-
if response.status_code not in [200, 202]:
7096-
try:
7097-
await response.read() # Load the body in memory and close the socket
7098-
except (StreamConsumedError, StreamClosedError):
7099-
pass
7100-
map_error(status_code=response.status_code, response=response, error_map=error_map)
7101-
error = _failsafe_deserialize(
7102-
_models.ErrorResponse,
7103-
response,
7104-
)
7105-
raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
7106-
7107-
response_headers = {}
7108-
if response.status_code == 202:
7109-
response_headers["Azure-AsyncOperation"] = self._deserialize(
7110-
"str", response.headers.get("Azure-AsyncOperation")
7111-
)
7112-
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
7113-
response_headers["Retry-After"] = self._deserialize("int", response.headers.get("Retry-After"))
7114-
7115-
deserialized = response.iter_bytes()
7116-
7117-
if cls:
7118-
return cls(pipeline_response, deserialized, response_headers) # type: ignore
7119-
7120-
return deserialized # type: ignore
7121-
7122-
@distributed_trace_async
7123-
@api_version_validation(
7124-
method_added_on="2025-07-01-preview",
7125-
params_added_on={
7126-
"2025-07-01-preview": [
7127-
"api_version",
7128-
"subscription_id",
7129-
"resource_group_name",
7130-
"account_name",
7131-
"pool_name",
7132-
"volume_name",
7133-
"accept",
7134-
]
7135-
},
7136-
api_versions_list=["2025-07-01-preview", "2025-08-01", "2025-08-01-preview", "2025-09-01"],
7137-
)
7138-
async def begin_list_quota_report(
7139-
self, resource_group_name: str, account_name: str, pool_name: str, volume_name: str, **kwargs: Any
7140-
) -> AsyncLROPoller[_models.ListQuotaReportResponse]:
7141-
"""A long-running resource action.
7142-
7143-
:param resource_group_name: The name of the resource group. The name is case insensitive.
7144-
Required.
7145-
:type resource_group_name: str
7146-
:param account_name: The name of the NetApp account. Required.
7147-
:type account_name: str
7148-
:param pool_name: The name of the capacity pool. Required.
7149-
:type pool_name: str
7150-
:param volume_name: The name of the volume. Required.
7151-
:type volume_name: str
7152-
:return: An instance of AsyncLROPoller that returns ListQuotaReportResponse. The
7153-
ListQuotaReportResponse is compatible with MutableMapping
7154-
:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.netapp.models.ListQuotaReportResponse]
7155-
:raises ~azure.core.exceptions.HttpResponseError:
7156-
"""
7157-
_headers = kwargs.pop("headers", {}) or {}
7158-
_params = kwargs.pop("params", {}) or {}
7159-
7160-
cls: ClsType[_models.ListQuotaReportResponse] = kwargs.pop("cls", None)
7161-
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
7162-
lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
7163-
cont_token: Optional[str] = kwargs.pop("continuation_token", None)
7164-
if cont_token is None:
7165-
raw_result = await self._list_quota_report_initial(
7166-
resource_group_name=resource_group_name,
7167-
account_name=account_name,
7168-
pool_name=pool_name,
7169-
volume_name=volume_name,
7170-
cls=lambda x, y, z: x,
7171-
headers=_headers,
7172-
params=_params,
7173-
**kwargs
7174-
)
7175-
await raw_result.http_response.read() # type: ignore
7176-
kwargs.pop("error_map", None)
7177-
7178-
def get_long_running_output(pipeline_response):
7179-
response_headers = {}
7180-
response = pipeline_response.http_response
7181-
response_headers["Azure-AsyncOperation"] = self._deserialize(
7182-
"str", response.headers.get("Azure-AsyncOperation")
7183-
)
7184-
response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
7185-
response_headers["Retry-After"] = self._deserialize("int", response.headers.get("Retry-After"))
7186-
7187-
deserialized = _deserialize(_models.ListQuotaReportResponse, response.json())
7188-
if cls:
7189-
return cls(pipeline_response, deserialized, response_headers) # type: ignore
7190-
return deserialized
7191-
7192-
path_format_arguments = {
7193-
"endpoint": self._serialize.url("self._config.base_url", self._config.base_url, "str", skip_quote=True),
7194-
}
7195-
7196-
if polling is True:
7197-
polling_method: AsyncPollingMethod = cast(
7198-
AsyncPollingMethod, AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs)
7199-
)
7200-
elif polling is False:
7201-
polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
7202-
else:
7203-
polling_method = polling
7204-
if cont_token:
7205-
return AsyncLROPoller[_models.ListQuotaReportResponse].from_continuation_token(
7206-
polling_method=polling_method,
7207-
continuation_token=cont_token,
7208-
client=self._client,
7209-
deserialization_callback=get_long_running_output,
7210-
)
7211-
return AsyncLROPoller[_models.ListQuotaReportResponse](
7212-
self._client, raw_result, get_long_running_output, polling_method # type: ignore
7213-
)
7214-
72157041

72167042
class SnapshotsOperations:
72177043
"""

sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@
5555
HourlySchedule,
5656
KeyVaultPrivateEndpoint,
5757
KeyVaultProperties,
58-
LdapConfiguration,
5958
LdapSearchScopeOpt,
60-
ListQuotaReportResponse,
6159
ListReplicationsRequest,
6260
LogSpecification,
6361
ManagedServiceIdentity,
@@ -81,7 +79,6 @@
8179
QuotaAvailabilityRequest,
8280
QuotaItem,
8381
QuotaItemProperties,
84-
QuotaReport,
8582
ReestablishReplicationRequest,
8683
RegionInfo,
8784
RegionInfoAvailabilityZoneMappingsItem,
@@ -159,12 +156,10 @@
159156
EncryptionType,
160157
EndpointType,
161158
Exclude,
162-
ExternalReplicationSetupStatus,
163159
FileAccessLogs,
164160
InAvailabilityReasonType,
165161
KeySource,
166162
KeyVaultStatus,
167-
LdapServerType,
168163
ManagedServiceIdentityType,
169164
MetricAggregationType,
170165
MirrorState,
@@ -183,7 +178,6 @@
183178
SmbNonBrowsable,
184179
Type,
185180
VolumeBackupRelationshipStatus,
186-
VolumeLanguage,
187181
VolumeReplicationRelationshipStatus,
188182
VolumeRestoreRelationshipStatus,
189183
VolumeStorageToNetworkProximity,
@@ -234,9 +228,7 @@
234228
"HourlySchedule",
235229
"KeyVaultPrivateEndpoint",
236230
"KeyVaultProperties",
237-
"LdapConfiguration",
238231
"LdapSearchScopeOpt",
239-
"ListQuotaReportResponse",
240232
"ListReplicationsRequest",
241233
"LogSpecification",
242234
"ManagedServiceIdentity",
@@ -260,7 +252,6 @@
260252
"QuotaAvailabilityRequest",
261253
"QuotaItem",
262254
"QuotaItemProperties",
263-
"QuotaReport",
264255
"ReestablishReplicationRequest",
265256
"RegionInfo",
266257
"RegionInfoAvailabilityZoneMappingsItem",
@@ -335,12 +326,10 @@
335326
"EncryptionType",
336327
"EndpointType",
337328
"Exclude",
338-
"ExternalReplicationSetupStatus",
339329
"FileAccessLogs",
340330
"InAvailabilityReasonType",
341331
"KeySource",
342332
"KeyVaultStatus",
343-
"LdapServerType",
344333
"ManagedServiceIdentityType",
345334
"MetricAggregationType",
346335
"MirrorState",
@@ -359,7 +348,6 @@
359348
"SmbNonBrowsable",
360349
"Type",
361350
"VolumeBackupRelationshipStatus",
362-
"VolumeLanguage",
363351
"VolumeReplicationRelationshipStatus",
364352
"VolumeRestoreRelationshipStatus",
365353
"VolumeStorageToNetworkProximity",

0 commit comments

Comments
 (0)