Skip to content

Commit b7f0d9c

Browse files
azure-sdkaudunnChenxiJiang333
authored
[AutoRelease] t2-netapp-2025-02-12-41718(can only be merged by SDK owner) (Azure#39680)
* code and test * update assets * Update CHANGELOG.md for new methods and models * Fix changelog formatting for AccountsOperations --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: Audunn Baldvinsson <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent ef25316 commit b7f0d9c

File tree

189 files changed

+1642
-2731
lines changed

Some content is hidden

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

189 files changed

+1642
-2731
lines changed

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

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

3+
## 13.4.0 (2025-02-26)
4+
5+
### Features Added
6+
7+
- Model `Volume` added property `cool_access_tiering_policy`
8+
- Model `VolumeGroupVolumeProperties` added property `cool_access_tiering_policy`
9+
- Model `VolumePatch` added property `cool_access_tiering_policy`
10+
- Added model `ChangeKeyVault`
11+
- Added enum `CoolAccessTieringPolicy`
12+
- Added model `EncryptionTransitionRequest`
13+
- Added model `GetKeyVaultStatusResponse`
14+
- Added model `KeyVaultPrivateEndpoint`
15+
- Operation group `AccountsOperations` added method `begin_change_key_vault`
16+
- Operation group `AccountsOperations` added method `begin_get_change_key_vault_information`
17+
- Operation group `AccountsOperations` added method `begin_transition_to_cmk`
18+
319
## 13.4.0b1 (2024-11-18)
420

521
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "c4dc3cd6256c8a7525079f2b98285cd5b1c8bee6",
2+
"commit": "1d424c359209fda4d6ec397e43267da82e87a070",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.27.4",
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=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-preview-2024-07-01-preview --use=@autorest/python@6.19.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.27.4 --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_d458e8b242"
5+
"Tag": "python/netapp/azure-mgmt-netapp_7fb2d50e01"
66
}

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._net_app_management_client import NetAppManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._net_app_management_client import NetAppManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"NetAppManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for NetAppManagementClient.
2322
2423
Note that all parameters used to create this instance are saved as instance
@@ -28,13 +27,13 @@ class NetAppManagementClientConfiguration: # pylint: disable=too-many-instance-
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-07-01-preview". Note that overriding
32-
this default value may result in unsupported behavior.
30+
:keyword api_version: Api Version. Default value is "2024-09-01". Note that overriding this
31+
default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-07-01-preview")
36+
api_version: str = kwargs.pop("api_version", "2024-09-01")
3837

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

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@
4040
)
4141

4242
if TYPE_CHECKING:
43-
# pylint: disable=unused-import,ungrouped-imports
4443
from azure.core.credentials import TokenCredential
4544

4645

47-
class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
46+
class NetAppManagementClient: # pylint: disable=too-many-instance-attributes
4847
"""Microsoft NetApp Files Azure Resource Provider specification.
4948
5049
:ivar operations: Operations operations
@@ -92,8 +91,8 @@ class NetAppManagementClient: # pylint: disable=client-accepts-api-version-keyw
9291
:type subscription_id: str
9392
:param base_url: Service URL. Default value is "https://management.azure.com".
9493
:type base_url: str
95-
:keyword api_version: Api Version. Default value is "2024-07-01-preview". Note that overriding
96-
this default value may result in unsupported behavior.
94+
:keyword api_version: Api Version. Default value is "2024-09-01". Note that overriding this
95+
default value may result in unsupported behavior.
9796
:paramtype api_version: str
9897
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
9998
Retry-After header is present.

0 commit comments

Comments
 (0)