Skip to content

Commit 427d305

Browse files
author
SDKAuto
committed
CodeGen from PR 16381 in Azure/azure-rest-api-specs
Merge 20bfdb39625ea18a0578f77c2f1c2c06d41fabe7 into 47b551f
1 parent fe37155 commit 427d305

39 files changed

+2087
-183
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "6b95b0f0fa71e18a350cf0ba152591a29a94bdc0",
7+
"commit": "7255339cc98df9fe36828c732b39cee39ac04783",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"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 --track2 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/netapp/resource-manager/readme.md"

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

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

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2021-06-01"
51+
self.api_version = "2021-08-01"
5252
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5353
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
5454
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-06-01",
3-
"total_api_version_list": ["2021-06-01"],
2+
"chosen_version": "2021-08-01",
3+
"total_api_version_list": ["2021-08-01"],
44
"client": {
55
"name": "NetAppManagementClient",
66
"filename": "_net_app_management_client",
@@ -109,6 +109,7 @@
109109
"backups": "BackupsOperations",
110110
"account_backups": "AccountBackupsOperations",
111111
"backup_policies": "BackupPoliciesOperations",
112-
"vaults": "VaultsOperations"
112+
"vaults": "VaultsOperations",
113+
"volume_groups": "VolumeGroupsOperations"
113114
}
114115
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from .operations import AccountBackupsOperations
3232
from .operations import BackupPoliciesOperations
3333
from .operations import VaultsOperations
34+
from .operations import VolumeGroupsOperations
3435
from . import models
3536

3637

@@ -61,6 +62,8 @@ class NetAppManagementClient(object):
6162
:vartype backup_policies: azure.mgmt.netapp.operations.BackupPoliciesOperations
6263
:ivar vaults: VaultsOperations operations
6364
:vartype vaults: azure.mgmt.netapp.operations.VaultsOperations
65+
:ivar volume_groups: VolumeGroupsOperations operations
66+
:vartype volume_groups: azure.mgmt.netapp.operations.VolumeGroupsOperations
6467
:param credential: Credential needed for the client to connect to Azure.
6568
:type credential: ~azure.core.credentials.TokenCredential
6669
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -111,6 +114,8 @@ def __init__(
111114
self._client, self._config, self._serialize, self._deserialize)
112115
self.vaults = VaultsOperations(
113116
self._client, self._config, self._serialize, self._deserialize)
117+
self.volume_groups = VolumeGroupsOperations(
118+
self._client, self._config, self._serialize, self._deserialize)
114119

115120
def _send_request(self, http_request, **kwargs):
116121
# type: (HttpRequest, Any) -> HttpResponse

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 = "5.1.0"
9+
VERSION = "1.0.0b1"

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-06-01"
48+
self.api_version = "2021-08-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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
from .operations import AccountBackupsOperations
3030
from .operations import BackupPoliciesOperations
3131
from .operations import VaultsOperations
32+
from .operations import VolumeGroupsOperations
3233
from .. import models
3334

3435

@@ -59,6 +60,8 @@ class NetAppManagementClient(object):
5960
:vartype backup_policies: azure.mgmt.netapp.aio.operations.BackupPoliciesOperations
6061
:ivar vaults: VaultsOperations operations
6162
:vartype vaults: azure.mgmt.netapp.aio.operations.VaultsOperations
63+
:ivar volume_groups: VolumeGroupsOperations operations
64+
:vartype volume_groups: azure.mgmt.netapp.aio.operations.VolumeGroupsOperations
6265
:param credential: Credential needed for the client to connect to Azure.
6366
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
6467
:param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
@@ -108,6 +111,8 @@ def __init__(
108111
self._client, self._config, self._serialize, self._deserialize)
109112
self.vaults = VaultsOperations(
110113
self._client, self._config, self._serialize, self._deserialize)
114+
self.volume_groups = VolumeGroupsOperations(
115+
self._client, self._config, self._serialize, self._deserialize)
111116

112117
async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:
113118
"""Runs the network request through the client's chained policies.

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
@@ -18,6 +18,7 @@
1818
from ._account_backups_operations import AccountBackupsOperations
1919
from ._backup_policies_operations import BackupPoliciesOperations
2020
from ._vaults_operations import VaultsOperations
21+
from ._volume_groups_operations import VolumeGroupsOperations
2122

2223
__all__ = [
2324
'Operations',
@@ -32,4 +33,5 @@
3233
'AccountBackupsOperations',
3334
'BackupPoliciesOperations',
3435
'VaultsOperations',
36+
'VolumeGroupsOperations',
3537
]

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def list(
6767
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6868
}
6969
error_map.update(kwargs.pop('error_map', {}))
70-
api_version = "2021-06-01"
70+
api_version = "2021-08-01"
7171
accept = "application/json"
7272

7373
def prepare_request(next_link=None):
@@ -146,7 +146,7 @@ async def get(
146146
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
147147
}
148148
error_map.update(kwargs.pop('error_map', {}))
149-
api_version = "2021-06-01"
149+
api_version = "2021-08-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -195,7 +195,7 @@ async def _delete_initial(
195195
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
196196
}
197197
error_map.update(kwargs.pop('error_map', {}))
198-
api_version = "2021-06-01"
198+
api_version = "2021-08-01"
199199

200200
# Construct URL
201201
url = self._delete_initial.metadata['url'] # type: ignore

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def list_by_subscription(
6161
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6262
}
6363
error_map.update(kwargs.pop('error_map', {}))
64-
api_version = "2021-06-01"
64+
api_version = "2021-08-01"
6565
accept = "application/json"
6666

6767
def prepare_request(next_link=None):
@@ -132,7 +132,7 @@ def list(
132132
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
133133
}
134134
error_map.update(kwargs.pop('error_map', {}))
135-
api_version = "2021-06-01"
135+
api_version = "2021-08-01"
136136
accept = "application/json"
137137

138138
def prepare_request(next_link=None):
@@ -207,7 +207,7 @@ async def get(
207207
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
208208
}
209209
error_map.update(kwargs.pop('error_map', {}))
210-
api_version = "2021-06-01"
210+
api_version = "2021-08-01"
211211
accept = "application/json"
212212

213213
# Construct URL
@@ -255,7 +255,7 @@ async def _create_or_update_initial(
255255
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
256256
}
257257
error_map.update(kwargs.pop('error_map', {}))
258-
api_version = "2021-06-01"
258+
api_version = "2021-08-01"
259259
content_type = kwargs.pop("content_type", "application/json")
260260
accept = "application/json"
261261

@@ -384,7 +384,7 @@ async def _delete_initial(
384384
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
385385
}
386386
error_map.update(kwargs.pop('error_map', {}))
387-
api_version = "2021-06-01"
387+
api_version = "2021-08-01"
388388

389389
# Construct URL
390390
url = self._delete_initial.metadata['url'] # type: ignore
@@ -493,7 +493,7 @@ async def _update_initial(
493493
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
494494
}
495495
error_map.update(kwargs.pop('error_map', {}))
496-
api_version = "2021-06-01"
496+
api_version = "2021-08-01"
497497
content_type = kwargs.pop("content_type", "application/json")
498498
accept = "application/json"
499499

0 commit comments

Comments
 (0)