Skip to content

Commit 3922dd7

Browse files
BigCat20196hoddmsyyc
authored
[AutoRelease] t2-netapp-2022-02-11-58164(Do not merge) (Azure#23214)
* code and test * migrate tests * updated tests and gather new recordings * Update conftest * Update test * Update test * update json * Update cspell.json * Update cspell.json * Update CHANGELOG.md * revoke pytest skip * update tests * Update CHANGELOG.md Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: hodd <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 14ff5a8 commit 3922dd7

File tree

119 files changed

+103023
-80547
lines changed

Some content is hidden

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

119 files changed

+103023
-80547
lines changed

.vscode/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"*.tgz",
2121
"*.pfx",
2222
"sdk/**/azure-mgmt**/**",
23+
"sdk/**/ci.yml",
2324
"sdk/**/azure-cognitiveservices**",
2425
"sdk/**/_generated/**",
2526
"**/*requirement*.txt",

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

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

3+
## 7.0.0 (2022-03-15)
4+
5+
**Features**
6+
7+
- Added operation SnapshotsOperations.begin_restore_files
8+
- Added operation group SubvolumesOperations
9+
- Model ActiveDirectory has a new parameter ldap_search_scope
10+
- Model BackupPolicy has a new parameter system_data
11+
- Model CapacityPool has a new parameter system_data
12+
- Model SnapshotPolicy has a new parameter system_data
13+
- Model Volume has a new parameter enable_subvolumes
14+
- Model Volume has a new parameter maximum_number_of_files
15+
- Model Volume has a new parameter system_data
16+
- Model VolumeGroupVolumeProperties has a new parameter enable_subvolumes
17+
- Model VolumeGroupVolumeProperties has a new parameter maximum_number_of_files
18+
- Model VolumePatch has a new parameter unix_permissions
19+
20+
**Breaking changes**
21+
22+
- Operation VolumesOperations.begin_delete has a new signature
23+
324
## 6.0.1 (2022-01-12)
425

526
**Fixes**

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "4822ca2526928075b1278df6788ea88d6f6586fe",
7+
"commit": "25a8355d4094595edf9b58b13e8c95b0b0c9c50c",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/netapp/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
9+
"autorest_command": "autorest specification/netapp/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
1010
"readme": "specification/netapp/resource-manager/readme.md"
1111
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2021-08-01"
48+
self.api_version = "2021-10-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
5151
self._configure(**kwargs)

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2021-08-01",
3-
"total_api_version_list": ["2021-08-01"],
2+
"chosen_version": "2021-10-01",
3+
"total_api_version_list": ["2021-10-01"],
44
"client": {
55
"name": "NetAppManagementClient",
66
"filename": "_net_app_management_client",
@@ -109,6 +109,7 @@
109109
"account_backups": "AccountBackupsOperations",
110110
"backup_policies": "BackupPoliciesOperations",
111111
"vaults": "VaultsOperations",
112-
"volume_groups": "VolumeGroupsOperations"
112+
"volume_groups": "VolumeGroupsOperations",
113+
"subvolumes": "SubvolumesOperations"
113114
}
114115
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from . import models
1717
from ._configuration import NetAppManagementClientConfiguration
18-
from .operations import AccountBackupsOperations, AccountsOperations, BackupPoliciesOperations, BackupsOperations, NetAppResourceOperations, NetAppResourceQuotaLimitsOperations, Operations, PoolsOperations, SnapshotPoliciesOperations, SnapshotsOperations, VaultsOperations, VolumeGroupsOperations, VolumesOperations
18+
from .operations import AccountBackupsOperations, AccountsOperations, BackupPoliciesOperations, BackupsOperations, NetAppResourceOperations, NetAppResourceQuotaLimitsOperations, Operations, PoolsOperations, SnapshotPoliciesOperations, SnapshotsOperations, SubvolumesOperations, VaultsOperations, VolumeGroupsOperations, VolumesOperations
1919

2020
if TYPE_CHECKING:
2121
# pylint: disable=unused-import,ungrouped-imports
@@ -51,6 +51,8 @@ class NetAppManagementClient:
5151
:vartype vaults: azure.mgmt.netapp.operations.VaultsOperations
5252
:ivar volume_groups: VolumeGroupsOperations operations
5353
:vartype volume_groups: azure.mgmt.netapp.operations.VolumeGroupsOperations
54+
:ivar subvolumes: SubvolumesOperations operations
55+
:vartype subvolumes: azure.mgmt.netapp.operations.SubvolumesOperations
5456
:param credential: Credential needed for the client to connect to Azure.
5557
:type credential: ~azure.core.credentials.TokenCredential
5658
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure
@@ -89,6 +91,7 @@ def __init__(
8991
self.backup_policies = BackupPoliciesOperations(self._client, self._config, self._serialize, self._deserialize)
9092
self.vaults = VaultsOperations(self._client, self._config, self._serialize, self._deserialize)
9193
self.volume_groups = VolumeGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
94+
self.subvolumes = SubvolumesOperations(self._client, self._config, self._serialize, self._deserialize)
9295

9396

9497
def _send_request(

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 = "6.0.1"
9+
VERSION = "7.0.0"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48-
self.api_version = "2021-08-01"
48+
self.api_version = "2021-10-01"
4949
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5050
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
5151
self._configure(**kwargs)

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from .. import models
1717
from ._configuration import NetAppManagementClientConfiguration
18-
from .operations import AccountBackupsOperations, AccountsOperations, BackupPoliciesOperations, BackupsOperations, NetAppResourceOperations, NetAppResourceQuotaLimitsOperations, Operations, PoolsOperations, SnapshotPoliciesOperations, SnapshotsOperations, VaultsOperations, VolumeGroupsOperations, VolumesOperations
18+
from .operations import AccountBackupsOperations, AccountsOperations, BackupPoliciesOperations, BackupsOperations, NetAppResourceOperations, NetAppResourceQuotaLimitsOperations, Operations, PoolsOperations, SnapshotPoliciesOperations, SnapshotsOperations, SubvolumesOperations, VaultsOperations, VolumeGroupsOperations, VolumesOperations
1919

2020
if TYPE_CHECKING:
2121
# pylint: disable=unused-import,ungrouped-imports
@@ -51,6 +51,8 @@ class NetAppManagementClient:
5151
:vartype vaults: azure.mgmt.netapp.aio.operations.VaultsOperations
5252
:ivar volume_groups: VolumeGroupsOperations operations
5353
:vartype volume_groups: azure.mgmt.netapp.aio.operations.VolumeGroupsOperations
54+
:ivar subvolumes: SubvolumesOperations operations
55+
:vartype subvolumes: azure.mgmt.netapp.aio.operations.SubvolumesOperations
5456
:param credential: Credential needed for the client to connect to Azure.
5557
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
5658
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure
@@ -89,6 +91,7 @@ def __init__(
8991
self.backup_policies = BackupPoliciesOperations(self._client, self._config, self._serialize, self._deserialize)
9092
self.vaults = VaultsOperations(self._client, self._config, self._serialize, self._deserialize)
9193
self.volume_groups = VolumeGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
94+
self.subvolumes = SubvolumesOperations(self._client, self._config, self._serialize, self._deserialize)
9295

9396

9497
def _send_request(

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
@@ -19,6 +19,7 @@
1919
from ._backup_policies_operations import BackupPoliciesOperations
2020
from ._vaults_operations import VaultsOperations
2121
from ._volume_groups_operations import VolumeGroupsOperations
22+
from ._subvolumes_operations import SubvolumesOperations
2223

2324
__all__ = [
2425
'Operations',
@@ -34,4 +35,5 @@
3435
'BackupPoliciesOperations',
3536
'VaultsOperations',
3637
'VolumeGroupsOperations',
38+
'SubvolumesOperations',
3739
]

0 commit comments

Comments
 (0)