Skip to content

Commit 22dcf25

Browse files
HöddSDKAutoaudunniscai-msftazure-sdk
committed
t2-Netapp-update-to-2021-06-01 (#20453)
* CodeGen from PR 15691 in Azure/azure-rest-api-specs [NetAppFiles] fix default in volumeproperties (#15691) * fix default in volumeproperties * Update description * Update description Co-authored-by: Audunn Baldvinsson <[email protected]> * version,CHANGELOG * test * bump node version (#20353) * Remove old unused update changelog script (#20357) Co-authored-by: Wes Haggard <[email protected]> * Handle value types for results (#20358) * Handle value types for results * update test * lint * comprehension * more precis * fix test * [rest] change text from a property to a method (#20290) * [ServiceBus] update migration guide with message count info (#20360) #20245 * Update CODEOWNERS (#20366) * More Renaming in query (#20303) * More Reanaming in query * changelog * commit 2 * some changes * remove errror * Update sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py * Apply suggestions from code review Co-authored-by: Adam Ling (MSFT) <[email protected]> * Update sdk/monitor/azure-monitor-query/CHANGELOG.md Co-authored-by: Adam Ling (MSFT) <[email protected]> * Fix Monitor opentelemetry exporter readme issues (#19038) * [Key Vault] Add 7.3-preview support for administration (#20364) * Update metadata values (#20365) * Update metadata values * distributed trace * oops * Update sdk/monitor/azure-monitor-query/CHANGELOG.md * Apply suggestions from code review * Bug fix for pipeline downloading incorrect package ver (#20294) * Bug fix: pipeline to download correct package ver * Update clean version * Update clean version * Cleanup * Cleanup * Cleanup * Cleanup * Comments added * Testing * Final-Version * CertificateCredential supports PKCS12 certs (#16384) * [rest] use azure json encoder for json input bodies (#20361) * Document Pod Identity's special use of client_id (#20377) * Consistency related changes (#20385) * time stamp * Rename AggragationType to MetricAggregationType * Metric Class * logs batch result * MetricNamespaceClassification * LogsTable + LogsTableColumn * lint * more lint * Add Cloud Configuration section to Identity readme (#20373) * keyvault and storage have a conflict between mindependency and what local azure-identity requires. resolve it (#20391) * [AutoRelease] t2-costmanagement-2021-07-27-84467 (#19949) * CodeGen from PR 15291 in Azure/azure-rest-api-specs Updating Query filter description (#15291) Co-authored-by: Jorge Chavez Nieto <[email protected]> * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: Jorge Chavez Nieto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * [AutoRelease] t2-servicebus-2021-08-19-00756 (#20350) * CodeGen from PR 14749 in Azure/azure-rest-api-specs add apitestErrorCode doc (#14749) * add apitestErrorCode doc * add armRPC doc * add roundTripInconsistentProperty doc * small fix * update * update signalR armTemplate * update yaml * new file * add testScenario with armTemplate * update doc * update readme.md * update doc * update NOTE section * add signalRCreateOrUpdate example file * udpate doc * add generate test scenario section * update doc * add serviceFacbric test scenario file * update managedClusters.yaml * update generateABasicTestScenario.md * update features doc * add run api test gif * version,CHANGELOG * test * Update test_cli_mgmt_servicebus_namespace.py * Update test_queues.py * Update test_queues.py Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed Lei <[email protected]> Co-authored-by: Jiefeng Chen <[email protected]> * [AutoRelease] t2-policyinsights-2021-08-23-78735 (#20381) * CodeGen from PR 15165 in Azure/azure-rest-api-specs [policyinsights] Fix next_link (#15165) * fix next_link * directive * Update readme.nodejs.md * js directvie * Update readme.md * supress other language * Update readme.go.md * swagger lint * swagger lint * swagger lint * Update readme.md * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: Zed Lei <[email protected]> * [AutoRelease] t2-datamigration-2021-08-19-04035 (#20349) * CodeGen from PR 15259 in Azure/azure-rest-api-specs Dev datamigration microsoft.data migration 2021 06 30 (#15259) * Created new api version and refactoring changes (such as fixing new build restrictions) * Adding breaking changes * Adding location to the services update example * Adding location for projects update and refactoring the task command * Resolving tasks command ModelValidation test failure * Resolving issue based on zhenglaizhang's recommendation * Adding comma to resolve issue Co-authored-by: Artem Pavlichenko <[email protected]> * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: Artem Pavlichenko <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * Chain exceptions from LibsecretPersistence (#20380) * [translation] fix poller.details (#20392) * fixing docstring types for async client * populate poller.details.id immediately * pylint * add bug fix to changelog * improve begin_translation docstring (#20401) * Update .docsettings.yml (#20402) * Sync eng/common directory with azure-sdk-tools for PR 1918 (#20342) * Stress test deployment script resiliency fixes * Use PSModule-Helpers to install powershell-yaml Co-authored-by: Ben Broderick Phillips <[email protected]> * improve docs and samples for glossaries and custom models (#18587) * update the readme * update readme file * added custom translation samples * fix 'no-locale' thing in links * update glossary docs * update glossaries * link to sample glossaries instead of writing code in readme * update custom model sample linking * remove relative linking in readme * make subheadings in bold text to be more readable * conform with 'Document Translation' naming * disambiguate container sas url * capitaliz Azure name * remove misplaced period * update samples -> custom model * update async sample -> custom model * remove localization from url * update readme with new file types for glossaries * adding sample glossaries -> xlf * white space * use simplified single input method * update 'job' terminology * update azure-core naming * update glossary blob file reference name * link to supported glossaries table * remove locale from url * [purview account] first release for azure-purview-account (#20335) * purview account * CI * verion-tolerant * endpoint order * add test for collections * Update CHANGELOG.md * review * update reamdme * skip custom translation model samples (#20414) * Address API view issues (#20407) * logs client * lc-2 * models changes * more changes * more changes * more arch changes * changelog * tests * lint * fix tests * timespan * [translation] naming alignment (#20406) * list_all_translation_statuses -> list_translation_statuses * list_all_document_statuses -> list_document_statuses * cancelled -> canceled, cancelling -> canceling * FileFormat -> DocumentTranslationFileFormat * update changelog * make core tests offline (#19986) * make core tests offline * clean up * use localhost instead of 127.0.0.1 * update * update * update * Get rid of LogsBatchQueryResult (#20418) * Get rid of LogsBatchQueryResult * Update sdk/monitor/azure-monitor-query/README.md * oops * comments * [AutoRelease] t2-iothub-2021-08-25-25696 (#20409) * CodeGen from PR 15722 in Azure/azure-rest-api-specs Removing readonly for isVerified property as it is no more readonly property (#15722) * version,CHANGELOG * test Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * [AutoRelease] t2-healthcareapis-2021-08-26-27542 (#20422) * CodeGen from PR 15381 in Azure/azure-rest-api-specs Update readme.md (#15381) * version,CHANGELOG Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * Stip empty changelog sections before release (#20437) Co-authored-by: Chidozie Ononiwu <[email protected]> * Update question-answering readme links (#20439) * ensure test principal creation succeeds properly (#20446) Co-authored-by: scbedd <[email protected]> * New dummy password in README (#20328) * Sync eng/common directory with azure-sdk-tools for PR 1943 (#20450) * Bug fix: Storing .env file for bicep file at service dir * Styling Co-authored-by: Albert Cheng <[email protected]> * [AutoRelease] t2-keyvault-2021-08-26-55443 (#20423) * CodeGen from PR 15458 in Azure/azure-rest-api-specs Add rotation permission (#15458) * Add rotation permission * Update keys.json Remove required from lifetimeActions * Change to expiryTime * version,CHANGELOG * test Co-authored-by: SDKAuto <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * new recordings Co-authored-by: SDKAuto <[email protected]> Co-authored-by: Audunn Baldvinsson <[email protected]> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> Co-authored-by: iscai-msft <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]> Co-authored-by: Wes Haggard <[email protected]> Co-authored-by: Rakshith Bhyravabhotla <[email protected]> Co-authored-by: swathipil <[email protected]> Co-authored-by: McCoy Patiño <[email protected]> Co-authored-by: Adam Ling (MSFT) <[email protected]> Co-authored-by: Tong Xu (MSFT) <[email protected]> Co-authored-by: ckairen <[email protected]> Co-authored-by: Charles Lowell <[email protected]> Co-authored-by: Scott Beddall <[email protected]> Co-authored-by: Azure CLI Bot <[email protected]> Co-authored-by: Jorge Chavez Nieto <[email protected]> Co-authored-by: Zed Lei <[email protected]> Co-authored-by: Jiefeng Chen <[email protected]> Co-authored-by: Artem Pavlichenko <[email protected]> Co-authored-by: Krista Pratico <[email protected]> Co-authored-by: Ben Broderick Phillips <[email protected]> Co-authored-by: Mohamed Shaban <[email protected]> Co-authored-by: msyyc <[email protected]> Co-authored-by: Xiang Yan <[email protected]> Co-authored-by: Chidozie Ononiwu <[email protected]> Co-authored-by: annatisch <[email protected]> Co-authored-by: Albert Cheng <[email protected]>
1 parent 0ca5502 commit 22dcf25

File tree

67 files changed

+15852
-9743
lines changed

Some content is hidden

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

67 files changed

+15852
-9743
lines changed

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

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

3+
## 5.0.0 (2021-08-20)
4+
5+
**Features**
6+
7+
- Model BackupPolicy has a new parameter etag
8+
- Model BackupPolicy has a new parameter backup_policy_id
9+
- Model BackupPolicyPatch has a new parameter backup_policy_id
10+
- Model NetAppAccount has a new parameter etag
11+
- Model VolumePatch has a new parameter is_default_quota_enabled
12+
- Model VolumePatch has a new parameter default_user_quota_in_ki_bs
13+
- Model VolumePatch has a new parameter default_group_quota_in_ki_bs
14+
- Model BackupPolicyDetails has a new parameter backup_policy_id
15+
- Model Volume has a new parameter clone_progress
16+
- Model Volume has a new parameter default_group_quota_in_ki_bs
17+
- Model Volume has a new parameter is_default_quota_enabled
18+
- Model Volume has a new parameter default_user_quota_in_ki_bs
19+
- Model Volume has a new parameter avs_data_store
20+
- Model Volume has a new parameter etag
21+
- Model MetricSpecification has a new parameter supported_aggregation_types
22+
- Model MetricSpecification has a new parameter supported_time_grain_types
23+
- Model MetricSpecification has a new parameter internal_metric_name
24+
- Model MetricSpecification has a new parameter source_mdm_namespace
25+
- Model MetricSpecification has a new parameter source_mdm_account
26+
- Model CapacityPool has a new parameter encryption_type
27+
- Model CapacityPool has a new parameter etag
28+
- Model SnapshotPolicy has a new parameter etag
29+
- Added operation AccountsOperations.list_by_subscription
30+
31+
**Breaking changes**
32+
33+
- Model BackupPolicy no longer has parameter yearly_backups_to_keep
34+
- Model BackupPolicyPatch no longer has parameter yearly_backups_to_keep
35+
- Model BackupPolicyDetails no longer has parameter yearly_backups_to_keep
36+
337
## 4.0.0 (2021-06-11)
438

539
**Features**
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"autorest": "3.4.2",
2+
"autorest": "3.4.5",
33
"use": [
4-
"@autorest/[email protected].0",
4+
"@autorest/[email protected].4",
55
"@autorest/[email protected]"
66
],
7-
"commit": "2359ae379dcf396ef2eb389b050ac4972595fa6c",
7+
"commit": "1a5e9c6601a9611ac23c58bc9857693dcd9884f3",
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 --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected] --version=3.4.2",
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 --track2 --use=@autorest/[email protected].4 --use=@autorest/[email protected] --version=3.4.5",
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
@@ -48,7 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51-
self.api_version = "2021-04-01"
51+
self.api_version = "2021-06-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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "2021-04-01",
3-
"total_api_version_list": ["2021-04-01"],
2+
"chosen_version": "2021-06-01",
3+
"total_api_version_list": ["2021-06-01"],
44
"client": {
55
"name": "NetAppManagementClient",
66
"filename": "_net_app_management_client",

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 = "4.0.0"
9+
VERSION = "5.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-04-01"
48+
self.api_version = "2021-06-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/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-04-01"
70+
api_version = "2021-06-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-04-01"
149+
api_version = "2021-06-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-04-01"
198+
api_version = "2021-06-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: 73 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,74 @@ def __init__(self, client, config, serializer, deserializer) -> None:
4343
self._deserialize = deserializer
4444
self._config = config
4545

46+
def list_by_subscription(
47+
self,
48+
**kwargs: Any
49+
) -> AsyncIterable["_models.NetAppAccountList"]:
50+
"""Describe all NetApp Accounts in a subscription.
51+
52+
List and describe all NetApp accounts in the subscription.
53+
54+
:keyword callable cls: A custom type or function that will be passed the direct response
55+
:return: An iterator like instance of either NetAppAccountList or the result of cls(response)
56+
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.netapp.models.NetAppAccountList]
57+
:raises: ~azure.core.exceptions.HttpResponseError
58+
"""
59+
cls = kwargs.pop('cls', None) # type: ClsType["_models.NetAppAccountList"]
60+
error_map = {
61+
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
62+
}
63+
error_map.update(kwargs.pop('error_map', {}))
64+
api_version = "2021-06-01"
65+
accept = "application/json"
66+
67+
def prepare_request(next_link=None):
68+
# Construct headers
69+
header_parameters = {} # type: Dict[str, Any]
70+
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
71+
72+
if not next_link:
73+
# Construct URL
74+
url = self.list_by_subscription.metadata['url'] # type: ignore
75+
path_format_arguments = {
76+
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
77+
}
78+
url = self._client.format_url(url, **path_format_arguments)
79+
# Construct parameters
80+
query_parameters = {} # type: Dict[str, Any]
81+
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
82+
83+
request = self._client.get(url, query_parameters, header_parameters)
84+
else:
85+
url = next_link
86+
query_parameters = {} # type: Dict[str, Any]
87+
request = self._client.get(url, query_parameters, header_parameters)
88+
return request
89+
90+
async def extract_data(pipeline_response):
91+
deserialized = self._deserialize('NetAppAccountList', pipeline_response)
92+
list_of_elem = deserialized.value
93+
if cls:
94+
list_of_elem = cls(list_of_elem)
95+
return deserialized.next_link or None, AsyncList(list_of_elem)
96+
97+
async def get_next(next_link=None):
98+
request = prepare_request(next_link)
99+
100+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
101+
response = pipeline_response.http_response
102+
103+
if response.status_code not in [200]:
104+
map_error(status_code=response.status_code, response=response, error_map=error_map)
105+
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
106+
107+
return pipeline_response
108+
109+
return AsyncItemPaged(
110+
get_next, extract_data
111+
)
112+
list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts'} # type: ignore
113+
46114
def list(
47115
self,
48116
resource_group_name: str,
@@ -64,7 +132,7 @@ def list(
64132
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
65133
}
66134
error_map.update(kwargs.pop('error_map', {}))
67-
api_version = "2021-04-01"
135+
api_version = "2021-06-01"
68136
accept = "application/json"
69137

70138
def prepare_request(next_link=None):
@@ -139,7 +207,7 @@ async def get(
139207
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
140208
}
141209
error_map.update(kwargs.pop('error_map', {}))
142-
api_version = "2021-04-01"
210+
api_version = "2021-06-01"
143211
accept = "application/json"
144212

145213
# Construct URL
@@ -187,7 +255,7 @@ async def _create_or_update_initial(
187255
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
188256
}
189257
error_map.update(kwargs.pop('error_map', {}))
190-
api_version = "2021-04-01"
258+
api_version = "2021-06-01"
191259
content_type = kwargs.pop("content_type", "application/json")
192260
accept = "application/json"
193261

@@ -316,7 +384,7 @@ async def _delete_initial(
316384
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
317385
}
318386
error_map.update(kwargs.pop('error_map', {}))
319-
api_version = "2021-04-01"
387+
api_version = "2021-06-01"
320388

321389
# Construct URL
322390
url = self._delete_initial.metadata['url'] # type: ignore
@@ -425,7 +493,7 @@ async def _update_initial(
425493
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
426494
}
427495
error_map.update(kwargs.pop('error_map', {}))
428-
api_version = "2021-04-01"
496+
api_version = "2021-06-01"
429497
content_type = kwargs.pop("content_type", "application/json")
430498
accept = "application/json"
431499

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

Lines changed: 5 additions & 5 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-04-01"
70+
api_version = "2021-06-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-04-01"
149+
api_version = "2021-06-01"
150150
accept = "application/json"
151151

152152
# Construct URL
@@ -196,7 +196,7 @@ async def _create_initial(
196196
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
197197
}
198198
error_map.update(kwargs.pop('error_map', {}))
199-
api_version = "2021-04-01"
199+
api_version = "2021-06-01"
200200
content_type = kwargs.pop("content_type", "application/json")
201201
accept = "application/json"
202202

@@ -334,7 +334,7 @@ async def _update_initial(
334334
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
335335
}
336336
error_map.update(kwargs.pop('error_map', {}))
337-
api_version = "2021-04-01"
337+
api_version = "2021-06-01"
338338
content_type = kwargs.pop("content_type", "application/json")
339339
accept = "application/json"
340340

@@ -470,7 +470,7 @@ async def _delete_initial(
470470
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
471471
}
472472
error_map.update(kwargs.pop('error_map', {}))
473-
api_version = "2021-04-01"
473+
api_version = "2021-06-01"
474474

475475
# Construct URL
476476
url = self._delete_initial.metadata['url'] # type: ignore

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async def get_status(
7373
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
7474
}
7575
error_map.update(kwargs.pop('error_map', {}))
76-
api_version = "2021-04-01"
76+
api_version = "2021-06-01"
7777
accept = "application/json"
7878

7979
# Construct URL
@@ -141,7 +141,7 @@ async def get_volume_restore_status(
141141
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
142142
}
143143
error_map.update(kwargs.pop('error_map', {}))
144-
api_version = "2021-04-01"
144+
api_version = "2021-06-01"
145145
accept = "application/json"
146146

147147
# Construct URL
@@ -209,7 +209,7 @@ def list(
209209
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
210210
}
211211
error_map.update(kwargs.pop('error_map', {}))
212-
api_version = "2021-04-01"
212+
api_version = "2021-06-01"
213213
accept = "application/json"
214214

215215
def prepare_request(next_link=None):
@@ -296,7 +296,7 @@ async def get(
296296
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
297297
}
298298
error_map.update(kwargs.pop('error_map', {}))
299-
api_version = "2021-04-01"
299+
api_version = "2021-06-01"
300300
accept = "application/json"
301301

302302
# Construct URL
@@ -350,7 +350,7 @@ async def _create_initial(
350350
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
351351
}
352352
error_map.update(kwargs.pop('error_map', {}))
353-
api_version = "2021-04-01"
353+
api_version = "2021-06-01"
354354
content_type = kwargs.pop("content_type", "application/json")
355355
accept = "application/json"
356356

@@ -502,7 +502,7 @@ async def _update_initial(
502502
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
503503
}
504504
error_map.update(kwargs.pop('error_map', {}))
505-
api_version = "2021-04-01"
505+
api_version = "2021-06-01"
506506
content_type = kwargs.pop("content_type", "application/json")
507507
accept = "application/json"
508508

@@ -655,7 +655,7 @@ async def _delete_initial(
655655
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
656656
}
657657
error_map.update(kwargs.pop('error_map', {}))
658-
api_version = "2021-04-01"
658+
api_version = "2021-06-01"
659659

660660
# Construct URL
661661
url = self._delete_initial.metadata['url'] # type: ignore

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def check_name_availability(
7272
error_map.update(kwargs.pop('error_map', {}))
7373

7474
_body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group)
75-
api_version = "2021-04-01"
75+
api_version = "2021-06-01"
7676
content_type = kwargs.pop("content_type", "application/json")
7777
accept = "application/json"
7878

@@ -142,7 +142,7 @@ async def check_file_path_availability(
142142
error_map.update(kwargs.pop('error_map', {}))
143143

144144
_body = _models.FilePathAvailabilityRequest(name=name, subnet_id=subnet_id)
145-
api_version = "2021-04-01"
145+
api_version = "2021-06-01"
146146
content_type = kwargs.pop("content_type", "application/json")
147147
accept = "application/json"
148148

@@ -214,7 +214,7 @@ async def check_quota_availability(
214214
error_map.update(kwargs.pop('error_map', {}))
215215

216216
_body = _models.QuotaAvailabilityRequest(name=name, type=type, resource_group=resource_group)
217-
api_version = "2021-04-01"
217+
api_version = "2021-06-01"
218218
content_type = kwargs.pop("content_type", "application/json")
219219
accept = "application/json"
220220

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def list(
5959
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
6060
}
6161
error_map.update(kwargs.pop('error_map', {}))
62-
api_version = "2021-04-01"
62+
api_version = "2021-06-01"
6363
accept = "application/json"
6464

6565
def prepare_request(next_link=None):

0 commit comments

Comments
 (0)