Skip to content

Commit c875783

Browse files
azure-sdkaudunn
andauthored
[AutoRelease] t2-netapp-2025-04-04-80956(can only be merged by SDK owner) (Azure#40370)
* code and test * tests * tests assets * import pytest --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: Audunn Baldvinsson <[email protected]>
1 parent a8f4b0f commit c875783

File tree

170 files changed

+1483
-555
lines changed

Some content is hidden

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

170 files changed

+1483
-555
lines changed

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

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

3+
## 13.5.0 (2025-04-21)
4+
5+
### Features Added
6+
7+
- Client `NetAppManagementClient` added operation group `net_app_resource_usages`
8+
- Model `Backup` added property `snapshot_creation_date`
9+
- Model `Backup` added property `completion_date`
10+
- Model `Backup` added property `is_large_volume`
11+
- Model `EncryptionIdentity` added property `federated_client_id`
12+
- Model `NetAppAccount` added property `nfs_v4_id_domain`
13+
- Model `NetAppAccount` added property `multi_ad_status`
14+
- Model `NetAppAccountPatch` added property `nfs_v4_id_domain`
15+
- Model `NetAppAccountPatch` added property `multi_ad_status`
16+
- Model `OperationListResult` added property `next_link`
17+
- Model `ReplicationObject` added property `destination_replications`
18+
- Added model `DestinationReplication`
19+
- Added enum `MultiAdStatus`
20+
- Added enum `ReplicationType`
21+
- Added model `UsageName`
22+
- Added model `UsageResult`
23+
- Added model `UsagesListResult`
24+
- Added model `NetAppResourceUsagesOperations`
25+
326
## 13.4.0 (2025-02-26)
427

528
### Features Added

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.

sdk/netapp/azure-mgmt-netapp/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "1d424c359209fda4d6ec397e43267da82e87a070",
2+
"commit": "27046dbff974e3901970aa53b29cec6d8ec1342a",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [

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_7fb2d50e01"
5+
"Tag": "python/netapp/azure-mgmt-netapp_e267792b26"
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
@@ -27,13 +27,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
2727
:type credential: ~azure.core.credentials.TokenCredential
2828
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
2929
:type subscription_id: str
30-
:keyword api_version: Api Version. Default value is "2024-09-01". Note that overriding this
30+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
3131
default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
36-
api_version: str = kwargs.pop("api_version", "2024-09-01")
36+
api_version: str = kwargs.pop("api_version", "2025-01-01")
3737

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

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
NetAppResourceOperations,
3030
NetAppResourceQuotaLimitsOperations,
3131
NetAppResourceRegionInfosOperations,
32+
NetAppResourceUsagesOperations,
3233
Operations,
3334
PoolsOperations,
3435
SnapshotPoliciesOperations,
@@ -50,6 +51,8 @@ class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
5051
:vartype operations: azure.mgmt.netapp.operations.Operations
5152
:ivar net_app_resource: NetAppResourceOperations operations
5253
:vartype net_app_resource: azure.mgmt.netapp.operations.NetAppResourceOperations
54+
:ivar net_app_resource_usages: NetAppResourceUsagesOperations operations
55+
:vartype net_app_resource_usages: azure.mgmt.netapp.operations.NetAppResourceUsagesOperations
5356
:ivar net_app_resource_quota_limits: NetAppResourceQuotaLimitsOperations operations
5457
:vartype net_app_resource_quota_limits:
5558
azure.mgmt.netapp.operations.NetAppResourceQuotaLimitsOperations
@@ -91,7 +94,7 @@ class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
9194
:type subscription_id: str
9295
:param base_url: Service URL. Default value is "https://management.azure.com".
9396
:type base_url: str
94-
:keyword api_version: Api Version. Default value is "2024-09-01". Note that overriding this
97+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
9598
default value may result in unsupported behavior.
9699
:paramtype api_version: str
97100
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -134,6 +137,9 @@ def __init__(
134137
self._serialize.client_side_validation = False
135138
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
136139
self.net_app_resource = NetAppResourceOperations(self._client, self._config, self._serialize, self._deserialize)
140+
self.net_app_resource_usages = NetAppResourceUsagesOperations(
141+
self._client, self._config, self._serialize, self._deserialize
142+
)
137143
self.net_app_resource_quota_limits = NetAppResourceQuotaLimitsOperations(
138144
self._client, self._config, self._serialize, self._deserialize
139145
)

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.4.0"
9+
VERSION = "13.5.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
@@ -27,13 +27,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
2727
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2828
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
2929
:type subscription_id: str
30-
:keyword api_version: Api Version. Default value is "2024-09-01". Note that overriding this
30+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
3131
default value may result in unsupported behavior.
3232
:paramtype api_version: str
3333
"""
3434

3535
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
36-
api_version: str = kwargs.pop("api_version", "2024-09-01")
36+
api_version: str = kwargs.pop("api_version", "2025-01-01")
3737

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

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
NetAppResourceOperations,
3030
NetAppResourceQuotaLimitsOperations,
3131
NetAppResourceRegionInfosOperations,
32+
NetAppResourceUsagesOperations,
3233
Operations,
3334
PoolsOperations,
3435
SnapshotPoliciesOperations,
@@ -50,6 +51,9 @@ class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
5051
:vartype operations: azure.mgmt.netapp.aio.operations.Operations
5152
:ivar net_app_resource: NetAppResourceOperations operations
5253
:vartype net_app_resource: azure.mgmt.netapp.aio.operations.NetAppResourceOperations
54+
:ivar net_app_resource_usages: NetAppResourceUsagesOperations operations
55+
:vartype net_app_resource_usages:
56+
azure.mgmt.netapp.aio.operations.NetAppResourceUsagesOperations
5357
:ivar net_app_resource_quota_limits: NetAppResourceQuotaLimitsOperations operations
5458
:vartype net_app_resource_quota_limits:
5559
azure.mgmt.netapp.aio.operations.NetAppResourceQuotaLimitsOperations
@@ -91,7 +95,7 @@ class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
9195
:type subscription_id: str
9296
:param base_url: Service URL. Default value is "https://management.azure.com".
9397
:type base_url: str
94-
:keyword api_version: Api Version. Default value is "2024-09-01". Note that overriding this
98+
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
9599
default value may result in unsupported behavior.
96100
:paramtype api_version: str
97101
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -134,6 +138,9 @@ def __init__(
134138
self._serialize.client_side_validation = False
135139
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
136140
self.net_app_resource = NetAppResourceOperations(self._client, self._config, self._serialize, self._deserialize)
141+
self.net_app_resource_usages = NetAppResourceUsagesOperations(
142+
self._client, self._config, self._serialize, self._deserialize
143+
)
137144
self.net_app_resource_quota_limits = NetAppResourceQuotaLimitsOperations(
138145
self._client, self._config, self._serialize, self._deserialize
139146
)

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
from ._operations import Operations # type: ignore
1616
from ._net_app_resource_operations import NetAppResourceOperations # type: ignore
17+
from ._net_app_resource_usages_operations import NetAppResourceUsagesOperations # type: ignore
1718
from ._net_app_resource_quota_limits_operations import NetAppResourceQuotaLimitsOperations # type: ignore
1819
from ._net_app_resource_region_infos_operations import NetAppResourceRegionInfosOperations # type: ignore
1920
from ._accounts_operations import AccountsOperations # type: ignore
@@ -38,6 +39,7 @@
3839
__all__ = [
3940
"Operations",
4041
"NetAppResourceOperations",
42+
"NetAppResourceUsagesOperations",
4143
"NetAppResourceQuotaLimitsOperations",
4244
"NetAppResourceRegionInfosOperations",
4345
"AccountsOperations",

0 commit comments

Comments
 (0)