Skip to content

Commit

Permalink
t2-Netapp-update-to-2021-06-01 (#20453)
Browse files Browse the repository at this point in the history
* 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 <audunn.baldvinsson@netapp.com>

* version,CHANGELOG

* test

* bump node version (#20353)

* Remove old unused update changelog script (#20357)

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>

* 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) <adam_ling@outlook.com>

* Update sdk/monitor/azure-monitor-query/CHANGELOG.md

Co-authored-by: Adam Ling (MSFT) <adam_ling@outlook.com>

* 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 <jochav@microsoft.com>

* version,CHANGELOG

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Jorge Chavez Nieto <jochav@microsoft.com>
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 <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com>
Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>

* [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 <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com>

* [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 <arpavlic@microsoft.com>

* version,CHANGELOG

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Artem Pavlichenko <arpavlic@microsoft.com>
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 <bebroder@microsoft.com>

* 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 <sdkautomation@microsoft.com>
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 <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* Stip empty changelog sections before release (#20437)

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>

* Update question-answering readme links (#20439)

* ensure test principal creation succeeds properly (#20446)

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>

* 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 <albertcheng@microsoft.com>

* [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 <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

* new recordings

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Rakshith Bhyravabhotla <sabhyrav@microsoft.com>
Co-authored-by: swathipil <76007337+swathipil@users.noreply.github.com>
Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
Co-authored-by: Adam Ling (MSFT) <adam_ling@outlook.com>
Co-authored-by: Tong Xu (MSFT) <57166602+v-xuto@users.noreply.github.com>
Co-authored-by: ckairen <38804567+ckairen@users.noreply.github.com>
Co-authored-by: Charles Lowell <chlowe@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Azure CLI Bot <azclibot@microsoft.com>
Co-authored-by: Jorge Chavez Nieto <jochav@microsoft.com>
Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com>
Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
Co-authored-by: Artem Pavlichenko <arpavlic@microsoft.com>
Co-authored-by: Krista Pratico <krpratic@microsoft.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Mohamed Shaban <v-moshaban@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: Xiang Yan <xiangsjtu@gmail.com>
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: annatisch <antisch@microsoft.com>
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
  • Loading branch information
1 parent 0ca5502 commit 22dcf25
Show file tree
Hide file tree
Showing 67 changed files with 15,852 additions and 9,743 deletions.
34 changes: 34 additions & 0 deletions sdk/netapp/azure-mgmt-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Release History

## 5.0.0 (2021-08-20)

**Features**

- Model BackupPolicy has a new parameter etag
- Model BackupPolicy has a new parameter backup_policy_id
- Model BackupPolicyPatch has a new parameter backup_policy_id
- Model NetAppAccount has a new parameter etag
- Model VolumePatch has a new parameter is_default_quota_enabled
- Model VolumePatch has a new parameter default_user_quota_in_ki_bs
- Model VolumePatch has a new parameter default_group_quota_in_ki_bs
- Model BackupPolicyDetails has a new parameter backup_policy_id
- Model Volume has a new parameter clone_progress
- Model Volume has a new parameter default_group_quota_in_ki_bs
- Model Volume has a new parameter is_default_quota_enabled
- Model Volume has a new parameter default_user_quota_in_ki_bs
- Model Volume has a new parameter avs_data_store
- Model Volume has a new parameter etag
- Model MetricSpecification has a new parameter supported_aggregation_types
- Model MetricSpecification has a new parameter supported_time_grain_types
- Model MetricSpecification has a new parameter internal_metric_name
- Model MetricSpecification has a new parameter source_mdm_namespace
- Model MetricSpecification has a new parameter source_mdm_account
- Model CapacityPool has a new parameter encryption_type
- Model CapacityPool has a new parameter etag
- Model SnapshotPolicy has a new parameter etag
- Added operation AccountsOperations.list_by_subscription

**Breaking changes**

- Model BackupPolicy no longer has parameter yearly_backups_to_keep
- Model BackupPolicyPatch no longer has parameter yearly_backups_to_keep
- Model BackupPolicyDetails no longer has parameter yearly_backups_to_keep

## 4.0.0 (2021-06-11)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/netapp/azure-mgmt-netapp/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.0",
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "2359ae379dcf396ef2eb389b050ac4972595fa6c",
"commit": "1a5e9c6601a9611ac23c58bc9857693dcd9884f3",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"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/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/netapp/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-04-01"
self.api_version = "2021-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
4 changes: 2 additions & 2 deletions sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-04-01",
"total_api_version_list": ["2021-04-01"],
"chosen_version": "2021-06-01",
"total_api_version_list": ["2021-06-01"],
"client": {
"name": "NetAppManagementClient",
"filename": "_net_app_management_client",
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "4.0.0"
VERSION = "5.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-04-01"
self.api_version = "2021-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -146,7 +146,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -195,7 +195,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,74 @@ def __init__(self, client, config, serializer, deserializer) -> None:
self._deserialize = deserializer
self._config = config

def list_by_subscription(
self,
**kwargs: Any
) -> AsyncIterable["_models.NetAppAccountList"]:
"""Describe all NetApp Accounts in a subscription.
List and describe all NetApp accounts in the subscription.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either NetAppAccountList or the result of cls(response)
:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.netapp.models.NetAppAccountList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["_models.NetAppAccountList"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')

if not next_link:
# Construct URL
url = self.list_by_subscription.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')

request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
request = self._client.get(url, query_parameters, header_parameters)
return request

async def extract_data(pipeline_response):
deserialized = self._deserialize('NetAppAccountList', pipeline_response)
list_of_elem = deserialized.value
if cls:
list_of_elem = cls(list_of_elem)
return deserialized.next_link or None, AsyncList(list_of_elem)

async def get_next(next_link=None):
request = prepare_request(next_link)

pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response

if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)

return pipeline_response

return AsyncItemPaged(
get_next, extract_data
)
list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts'} # type: ignore

def list(
self,
resource_group_name: str,
Expand All @@ -64,7 +132,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -139,7 +207,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -187,7 +255,7 @@ async def _create_or_update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -316,7 +384,7 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down Expand Up @@ -425,7 +493,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -146,7 +146,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -196,7 +196,7 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -334,7 +334,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def get_status(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -209,7 +209,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

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

# Construct URL
Expand Down Expand Up @@ -350,7 +350,7 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down Expand Up @@ -502,7 +502,7 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

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

# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def check_name_availability(
error_map.update(kwargs.pop('error_map', {}))

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

Expand Down Expand Up @@ -142,7 +142,7 @@ async def check_file_path_availability(
error_map.update(kwargs.pop('error_map', {}))

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

Expand Down Expand Up @@ -214,7 +214,7 @@ async def check_quota_availability(
error_map.update(kwargs.pop('error_map', {}))

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-04-01"
api_version = "2021-06-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Loading

0 comments on commit 22dcf25

Please sign in to comment.