From d4cc608c683a8c5bcd69fec51a27d00ea1abb04c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 22 Nov 2021 06:05:58 +0000 Subject: [PATCH] CodeGen from PR 16774 in Azure/azure-rest-api-specs Merge 0793f8cc17fcea03f6e478144f9c9c7feae6c92e into 972507baffd480eff639840a27ce83dd1bc432ae --- .../_meta.json | 2 +- .../mgmt/recoveryservicesbackup/_version.py | 2 +- .../_meta.json | 2 +- .../_configuration.py | 2 +- .../_metadata.json | 4 +- .../aio/_configuration.py | 2 +- .../_migration_recovery_points_operations.py | 4 +- .../aio/operations/_operations.py | 2 +- .../operations/_recovery_points_operations.py | 4 +- .../_replication_alert_settings_operations.py | 6 +- ...lication_eligibility_results_operations.py | 4 +- .../_replication_events_operations.py | 4 +- .../_replication_fabrics_operations.py | 18 ++-- .../_replication_jobs_operations.py | 12 +-- ...replication_logical_networks_operations.py | 4 +- ..._replication_migration_items_operations.py | 20 ++-- ...replication_network_mappings_operations.py | 12 +-- .../_replication_networks_operations.py | 6 +- .../_replication_policies_operations.py | 10 +- ...eplication_protectable_items_operations.py | 4 +- ..._replication_protected_items_operations.py | 42 ++++----- ...rotection_container_mappings_operations.py | 14 +-- ...cation_protection_containers_operations.py | 14 +-- ...plication_protection_intents_operations.py | 6 +- .../_replication_recovery_plans_operations.py | 24 ++--- ..._recovery_services_providers_operations.py | 14 +-- ...rage_classification_mappings_operations.py | 10 +- ...tion_storage_classifications_operations.py | 6 +- .../_replication_vault_health_operations.py | 4 +- .../_replication_vault_setting_operations.py | 6 +- .../_replicationv_centers_operations.py | 12 +-- ..._supported_operating_systems_operations.py | 2 +- .../_target_compute_sizes_operations.py | 2 +- .../models/__init__.py | 2 + .../models/_models.py | 74 +++++++++++++++ .../models/_models_py3.py | 91 ++++++++++++++++++- .../_site_recovery_management_client_enums.py | 7 ++ .../_migration_recovery_points_operations.py | 4 +- .../operations/_operations.py | 2 +- .../operations/_recovery_points_operations.py | 4 +- .../_replication_alert_settings_operations.py | 6 +- ...lication_eligibility_results_operations.py | 4 +- .../_replication_events_operations.py | 4 +- .../_replication_fabrics_operations.py | 18 ++-- .../_replication_jobs_operations.py | 12 +-- ...replication_logical_networks_operations.py | 4 +- ..._replication_migration_items_operations.py | 20 ++-- ...replication_network_mappings_operations.py | 12 +-- .../_replication_networks_operations.py | 6 +- .../_replication_policies_operations.py | 10 +- ...eplication_protectable_items_operations.py | 4 +- ..._replication_protected_items_operations.py | 42 ++++----- ...rotection_container_mappings_operations.py | 14 +-- ...cation_protection_containers_operations.py | 14 +-- ...plication_protection_intents_operations.py | 6 +- .../_replication_recovery_plans_operations.py | 24 ++--- ..._recovery_services_providers_operations.py | 14 +-- ...rage_classification_mappings_operations.py | 10 +- ...tion_storage_classifications_operations.py | 6 +- .../_replication_vault_health_operations.py | 4 +- .../_replication_vault_setting_operations.py | 6 +- .../_replicationv_centers_operations.py | 12 +-- ..._supported_operating_systems_operations.py | 2 +- .../_target_compute_sizes_operations.py | 2 +- 64 files changed, 446 insertions(+), 274 deletions(-) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/_meta.json b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/_meta.json index c79fa0f25239..6a3847149864 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/_meta.json +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/_meta.json @@ -4,7 +4,7 @@ "@autorest/python@5.8.4", "@autorest/modelerfour@4.19.2" ], - "commit": "33998161763a845ec4160ab09bb5de7d70befb37", + "commit": "5c501f360644b0fc4081e8d4486c37ec147df0b9", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest_command": "autorest specification/recoveryservicesbackup/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/recoveryservicesbackup/resource-manager/readme.md" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_version.py b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_version.py index cac9f5d10f8b..e5754a47ce68 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_version.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/_meta.json b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/_meta.json index 8ea981ec8a1a..9c731df93ee7 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/_meta.json +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/_meta.json @@ -4,7 +4,7 @@ "@autorest/python@5.8.4", "@autorest/modelerfour@4.19.2" ], - "commit": "4cec1770664631fced06a1d83d79ebc3d2ca74db", + "commit": "5c501f360644b0fc4081e8d4486c37ec147df0b9", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest_command": "autorest specification/recoveryservicessiterecovery/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/recoveryservicessiterecovery/resource-manager/readme.md" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_configuration.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_configuration.py index 0b7120693ba3..9a76171907b0 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_configuration.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_configuration.py @@ -60,7 +60,7 @@ def __init__( self.subscription_id = subscription_id self.resource_group_name = resource_group_name self.resource_name = resource_name - self.api_version = "2021-06-01" + self.api_version = "2021-08-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicessiterecovery/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_metadata.json b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_metadata.json index 45ba43c83df4..edde676b9079 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_metadata.json +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/_metadata.json @@ -1,6 +1,6 @@ { - "chosen_version": "2021-06-01", - "total_api_version_list": ["2021-06-01"], + "chosen_version": "2021-08-01", + "total_api_version_list": ["2021-08-01"], "client": { "name": "SiteRecoveryManagementClient", "filename": "_site_recovery_management_client", diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/_configuration.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/_configuration.py index 7906d61801df..16d773bd8355 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/_configuration.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/_configuration.py @@ -57,7 +57,7 @@ def __init__( self.subscription_id = subscription_id self.resource_group_name = resource_group_name self.resource_name = resource_name - self.api_version = "2021-06-01" + self.api_version = "2021-08-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicessiterecovery/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_migration_recovery_points_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_migration_recovery_points_operations.py index 0036b8030ede..c7d74af3d4fb 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_migration_recovery_points_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_migration_recovery_points_operations.py @@ -68,7 +68,7 @@ def list_by_replication_migration_items( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -153,7 +153,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_operations.py index 04b8090d6dfe..90d6fc7f2b85 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_operations.py @@ -59,7 +59,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_recovery_points_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_recovery_points_operations.py index 1a27a91dd1a9..1be94e067548 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_recovery_points_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_recovery_points_operations.py @@ -68,7 +68,7 @@ def list_by_replication_protected_items( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -153,7 +153,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_alert_settings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_alert_settings_operations.py index 943e0351e9ac..64d1c667bf63 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_alert_settings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_alert_settings_operations.py @@ -59,7 +59,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -132,7 +132,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -193,7 +193,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_eligibility_results_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_eligibility_results_operations.py index caff37fad293..aef4d5ac5d68 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_eligibility_results_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_eligibility_results_operations.py @@ -61,7 +61,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -118,7 +118,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_events_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_events_operations.py index c3aa4afcc3a5..f91b02869c10 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_events_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_events_operations.py @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -137,7 +137,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_fabrics_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_fabrics_operations.py index 09373f6446c9..90a013248bdf 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_fabrics_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_fabrics_operations.py @@ -61,7 +61,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -137,7 +137,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -187,7 +187,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -311,7 +311,7 @@ async def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -416,7 +416,7 @@ async def _check_consistency_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -531,7 +531,7 @@ async def _migrate_to_aad_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._migrate_to_aad_initial.metadata['url'] # type: ignore @@ -637,7 +637,7 @@ async def _reassociate_gateway_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -761,7 +761,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -867,7 +867,7 @@ async def _renew_certificate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_jobs_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_jobs_operations.py index 7911ede448ea..112d552660ff 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_jobs_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_jobs_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -139,7 +139,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -186,7 +186,7 @@ async def _cancel_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -301,7 +301,7 @@ async def _restart_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -417,7 +417,7 @@ async def _resume_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -541,7 +541,7 @@ async def _export_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_logical_networks_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_logical_networks_operations.py index 4457d21fc2b2..980da17d1764 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_logical_networks_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_logical_networks_operations.py @@ -62,7 +62,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -139,7 +139,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_migration_items_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_migration_items_operations.py index 7f27db60edd5..0305c1b6c449 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_migration_items_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_migration_items_operations.py @@ -76,7 +76,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -163,7 +163,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -215,7 +215,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -354,7 +354,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -480,7 +480,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -619,7 +619,7 @@ async def _migrate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -758,7 +758,7 @@ async def _resync_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -897,7 +897,7 @@ async def _test_migrate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1036,7 +1036,7 @@ async def _test_migrate_cleanup_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1189,7 +1189,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_network_mappings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_network_mappings_operations.py index 3bbaa3a25171..af588ec7ab06 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_network_mappings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_network_mappings_operations.py @@ -67,7 +67,7 @@ def list_by_replication_networks( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -200,7 +200,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -338,7 +338,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -458,7 +458,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -602,7 +602,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_networks_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_networks_operations.py index 6d52180d1ad0..493c13f7462c 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_networks_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_networks_operations.py @@ -62,7 +62,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -139,7 +139,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -195,7 +195,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_policies_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_policies_operations.py index 0dad4bd2b5f0..8836c2080af7 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_policies_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_policies_operations.py @@ -61,7 +61,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -134,7 +134,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -182,7 +182,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -306,7 +306,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -412,7 +412,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protectable_items_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protectable_items_operations.py index 0c9e0c2dccf5..b3594426fee0 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protectable_items_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protectable_items_operations.py @@ -74,7 +74,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -161,7 +161,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protected_items_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protected_items_operations.py index b0284f52c115..16350df3187a 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protected_items_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protected_items_operations.py @@ -67,7 +67,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -200,7 +200,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -338,7 +338,7 @@ async def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -460,7 +460,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -599,7 +599,7 @@ async def _add_disks_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -738,7 +738,7 @@ async def _apply_recovery_point_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -876,7 +876,7 @@ async def _failover_cancel_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1005,7 +1005,7 @@ async def _failover_commit_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1135,7 +1135,7 @@ async def _planned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1274,7 +1274,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -1404,7 +1404,7 @@ async def _remove_disks_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1542,7 +1542,7 @@ async def _repair_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1673,7 +1673,7 @@ async def _reprotect_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1812,7 +1812,7 @@ async def _resolve_health_errors_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1951,7 +1951,7 @@ async def _test_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2090,7 +2090,7 @@ async def _test_failover_cleanup_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2229,7 +2229,7 @@ async def _unplanned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2368,7 +2368,7 @@ async def _update_appliance_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2507,7 +2507,7 @@ async def _update_mobility_service_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2661,7 +2661,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_container_mappings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_container_mappings_operations.py index e15f3a0ee80f..8ef75b1a6e7e 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_container_mappings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_container_mappings_operations.py @@ -67,7 +67,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -200,7 +200,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -338,7 +338,7 @@ async def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -458,7 +458,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -597,7 +597,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -731,7 +731,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_containers_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_containers_operations.py index 84a5ae45062f..54d4c4bc7d47 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_containers_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_containers_operations.py @@ -64,7 +64,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -141,7 +141,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -191,7 +191,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -323,7 +323,7 @@ async def _discover_protectable_item_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -454,7 +454,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -567,7 +567,7 @@ async def _switch_protection_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -706,7 +706,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_intents_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_intents_operations.py index c52d56cdbd00..3c6796094c90 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_intents_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_protection_intents_operations.py @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -142,7 +142,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_plans_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_plans_operations.py index 5c56917dca7a..b9b4ee800733 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_plans_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_plans_operations.py @@ -61,7 +61,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -134,7 +134,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -182,7 +182,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -306,7 +306,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -412,7 +412,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -536,7 +536,7 @@ async def _failover_cancel_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -651,7 +651,7 @@ async def _failover_commit_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -767,7 +767,7 @@ async def _planned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -891,7 +891,7 @@ async def _reprotect_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1007,7 +1007,7 @@ async def _test_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1132,7 +1132,7 @@ async def _test_failover_cleanup_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1257,7 +1257,7 @@ async def _unplanned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_services_providers_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_services_providers_operations.py index 80f47eae7691..ac91acbf32be 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_services_providers_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_recovery_services_providers_operations.py @@ -64,7 +64,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -141,7 +141,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -191,7 +191,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -322,7 +322,7 @@ async def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -434,7 +434,7 @@ async def _refresh_provider_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -556,7 +556,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -675,7 +675,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classification_mappings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classification_mappings_operations.py index f03d4631b17f..2d0e286ec6d8 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classification_mappings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classification_mappings_operations.py @@ -67,7 +67,7 @@ def list_by_replication_storage_classifications( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -200,7 +200,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -338,7 +338,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -463,7 +463,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classifications_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classifications_operations.py index 268cea4ddaa0..df84bccd68ec 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classifications_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_storage_classifications_operations.py @@ -62,7 +62,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -139,7 +139,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -195,7 +195,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_health_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_health_operations.py index 6a7bd7685f28..b198c900ee7c 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_health_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_health_operations.py @@ -60,7 +60,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -105,7 +105,7 @@ async def _refresh_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_setting_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_setting_operations.py index 749dbb361a90..d2ac518201d0 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_setting_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replication_vault_setting_operations.py @@ -61,7 +61,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -134,7 +134,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -182,7 +182,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replicationv_centers_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replicationv_centers_operations.py index 8f79f5778ca6..d6f2df8857f5 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replicationv_centers_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_replicationv_centers_operations.py @@ -64,7 +64,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -141,7 +141,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -191,7 +191,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -322,7 +322,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -435,7 +435,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -573,7 +573,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_supported_operating_systems_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_supported_operating_systems_operations.py index f0297f15e1a0..e1dc6b5701d1 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_supported_operating_systems_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_supported_operating_systems_operations.py @@ -61,7 +61,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_target_compute_sizes_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_target_compute_sizes_operations.py index 19c76da87e88..a6cf431c0a08 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_target_compute_sizes_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/aio/operations/_target_compute_sizes_operations.py @@ -68,7 +68,7 @@ def list_by_replication_protected_items( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/__init__.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/__init__.py index 239805a44784..9241da198446 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/__init__.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/__init__.py @@ -997,6 +997,7 @@ AgentVersionStatus, AlternateLocationRecoveryOption, AutoProtectionOfDataDisk, + AutomationAccountAuthenticationType, DataSyncStatus, DisableProtectionReason, DiskAccountType, @@ -1536,6 +1537,7 @@ 'AgentVersionStatus', 'AlternateLocationRecoveryOption', 'AutoProtectionOfDataDisk', + 'AutomationAccountAuthenticationType', 'DataSyncStatus', 'DisableProtectionReason', 'DiskAccountType', diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models.py index a67702ce31bd..e85ed0933561 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models.py @@ -234,6 +234,10 @@ class A2AContainerMappingInput(ReplicationProviderSpecificContainerMappingInput) ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus :param automation_account_arm_id: The automation account arm id. :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType """ _validation = { @@ -244,6 +248,7 @@ class A2AContainerMappingInput(ReplicationProviderSpecificContainerMappingInput) 'instance_type': {'key': 'instanceType', 'type': 'str'}, 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, } def __init__( @@ -254,6 +259,7 @@ def __init__( self.instance_type = 'A2A' # type: str self.agent_auto_update_status = kwargs.get('agent_auto_update_status', None) self.automation_account_arm_id = kwargs.get('automation_account_arm_id', None) + self.automation_account_authentication_type = kwargs.get('automation_account_authentication_type', None) class CreateProtectionIntentProviderSpecificDetails(msrest.serialization.Model): @@ -347,6 +353,17 @@ class A2ACreateProtectionIntentInput(CreateProtectionIntentProviderSpecificDetai :type disk_encryption_info: ~azure.mgmt.recoveryservicessiterecovery.models.DiskEncryptionInfo :param recovery_availability_zone: The recovery availability zone. :type recovery_availability_zone: str + :param agent_auto_update_status: A value indicating whether the auto update is enabled. + Possible values include: "Disabled", "Enabled". + :type agent_auto_update_status: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus + :param automation_account_authentication_type: A value indicating the authentication type for + automation account. The default value is "RunAsAccount". Possible values include: + "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType + :param automation_account_arm_id: The automation account arm id. + :type automation_account_arm_id: str """ _validation = { @@ -380,6 +397,9 @@ class A2ACreateProtectionIntentInput(CreateProtectionIntentProviderSpecificDetai 'recovery_boot_diag_storage_account': {'key': 'recoveryBootDiagStorageAccount', 'type': 'StorageAccountCustomDetails'}, 'disk_encryption_info': {'key': 'diskEncryptionInfo', 'type': 'DiskEncryptionInfo'}, 'recovery_availability_zone': {'key': 'recoveryAvailabilityZone', 'type': 'str'}, + 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, + 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, } def __init__( @@ -407,6 +427,9 @@ def __init__( self.recovery_boot_diag_storage_account = kwargs.get('recovery_boot_diag_storage_account', None) self.disk_encryption_info = kwargs.get('disk_encryption_info', None) self.recovery_availability_zone = kwargs.get('recovery_availability_zone', None) + self.agent_auto_update_status = kwargs.get('agent_auto_update_status', None) + self.automation_account_authentication_type = kwargs.get('automation_account_authentication_type', None) + self.automation_account_arm_id = kwargs.get('automation_account_arm_id', None) class A2ACrossClusterMigrationApplyRecoveryPointInput(ApplyRecoveryPointProviderSpecificInput): @@ -705,6 +728,8 @@ class A2AEnableProtectionInput(EnableProtectionProviderSpecificInput): :type recovery_subnet_name: str :param recovery_virtual_machine_scale_set_id: The virtual machine scale set Id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str """ _validation = { @@ -730,6 +755,7 @@ class A2AEnableProtectionInput(EnableProtectionProviderSpecificInput): 'recovery_azure_network_id': {'key': 'recoveryAzureNetworkId', 'type': 'str'}, 'recovery_subnet_name': {'key': 'recoverySubnetName', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, } def __init__( @@ -754,6 +780,7 @@ def __init__( self.recovery_azure_network_id = kwargs.get('recovery_azure_network_id', None) self.recovery_subnet_name = kwargs.get('recovery_subnet_name', None) self.recovery_virtual_machine_scale_set_id = kwargs.get('recovery_virtual_machine_scale_set_id', None) + self.recovery_capacity_reservation_group_id = kwargs.get('recovery_capacity_reservation_group_id', None) class EventProviderSpecificDetails(msrest.serialization.Model): @@ -1255,6 +1282,10 @@ class A2AProtectionContainerMappingDetails(ProtectionContainerMappingProviderSpe ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus :param automation_account_arm_id: The automation account arm id. :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType :param schedule_name: The schedule arm name. :type schedule_name: str :param job_schedule_name: The job schedule arm name. @@ -1269,6 +1300,7 @@ class A2AProtectionContainerMappingDetails(ProtectionContainerMappingProviderSpe 'instance_type': {'key': 'instanceType', 'type': 'str'}, 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, 'schedule_name': {'key': 'scheduleName', 'type': 'str'}, 'job_schedule_name': {'key': 'jobScheduleName', 'type': 'str'}, } @@ -1281,6 +1313,7 @@ def __init__( self.instance_type = 'A2A' # type: str self.agent_auto_update_status = kwargs.get('agent_auto_update_status', None) self.automation_account_arm_id = kwargs.get('automation_account_arm_id', None) + self.automation_account_authentication_type = kwargs.get('automation_account_authentication_type', None) self.schedule_name = kwargs.get('schedule_name', None) self.job_schedule_name = kwargs.get('job_schedule_name', None) @@ -1630,6 +1663,8 @@ class A2AReplicationDetails(ReplicationProviderSpecificSettings): ~azure.mgmt.recoveryservicessiterecovery.models.AutoProtectionOfDataDisk :param recovery_virtual_machine_scale_set_id: The recovery virtual machine scale set id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str """ _validation = { @@ -1693,6 +1728,7 @@ class A2AReplicationDetails(ReplicationProviderSpecificSettings): 'recovery_proximity_placement_group_id': {'key': 'recoveryProximityPlacementGroupId', 'type': 'str'}, 'auto_protection_of_data_disk': {'key': 'autoProtectionOfDataDisk', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, } def __init__( @@ -1749,6 +1785,7 @@ def __init__( self.recovery_proximity_placement_group_id = kwargs.get('recovery_proximity_placement_group_id', None) self.auto_protection_of_data_disk = kwargs.get('auto_protection_of_data_disk', None) self.recovery_virtual_machine_scale_set_id = kwargs.get('recovery_virtual_machine_scale_set_id', None) + self.recovery_capacity_reservation_group_id = kwargs.get('recovery_capacity_reservation_group_id', None) class ReplicationProtectionIntentProviderSpecificSettings(msrest.serialization.Model): @@ -1840,6 +1877,16 @@ class A2AReplicationIntentDetails(ReplicationProtectionIntentProviderSpecificSet :param recovery_availability_type: Required. The recovery availability type of the virtual machine. :type recovery_availability_type: str + :param agent_auto_update_status: A value indicating whether the auto update is enabled. + Possible values include: "Disabled", "Enabled". + :type agent_auto_update_status: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus + :param automation_account_arm_id: The automation account arm id. + :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType """ _validation = { @@ -1868,6 +1915,9 @@ class A2AReplicationIntentDetails(ReplicationProtectionIntentProviderSpecificSet 'disk_encryption_info': {'key': 'diskEncryptionInfo', 'type': 'DiskEncryptionInfo'}, 'recovery_availability_zone': {'key': 'recoveryAvailabilityZone', 'type': 'str'}, 'recovery_availability_type': {'key': 'recoveryAvailabilityType', 'type': 'str'}, + 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, + 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, } def __init__( @@ -1895,6 +1945,9 @@ def __init__( self.disk_encryption_info = kwargs.get('disk_encryption_info', None) self.recovery_availability_zone = kwargs.get('recovery_availability_zone', None) self.recovery_availability_type = kwargs['recovery_availability_type'] + self.agent_auto_update_status = kwargs.get('agent_auto_update_status', None) + self.automation_account_arm_id = kwargs.get('automation_account_arm_id', None) + self.automation_account_authentication_type = kwargs.get('automation_account_authentication_type', None) class ReverseReplicationProviderSpecificInput(msrest.serialization.Model): @@ -2040,6 +2093,8 @@ class A2ASwitchProtectionInput(SwitchProtectionProviderSpecificInput): :type recovery_proximity_placement_group_id: str :param recovery_virtual_machine_scale_set_id: The virtual machine scale set id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str :param disk_encryption_info: The recovery disk encryption information. :type disk_encryption_info: ~azure.mgmt.recoveryservicessiterecovery.models.DiskEncryptionInfo """ @@ -2061,6 +2116,7 @@ class A2ASwitchProtectionInput(SwitchProtectionProviderSpecificInput): 'recovery_availability_zone': {'key': 'recoveryAvailabilityZone', 'type': 'str'}, 'recovery_proximity_placement_group_id': {'key': 'recoveryProximityPlacementGroupId', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, 'disk_encryption_info': {'key': 'diskEncryptionInfo', 'type': 'DiskEncryptionInfo'}, } @@ -2081,6 +2137,7 @@ def __init__( self.recovery_availability_zone = kwargs.get('recovery_availability_zone', None) self.recovery_proximity_placement_group_id = kwargs.get('recovery_proximity_placement_group_id', None) self.recovery_virtual_machine_scale_set_id = kwargs.get('recovery_virtual_machine_scale_set_id', None) + self.recovery_capacity_reservation_group_id = kwargs.get('recovery_capacity_reservation_group_id', None) self.disk_encryption_info = kwargs.get('disk_encryption_info', None) @@ -2288,6 +2345,10 @@ class A2AUpdateContainerMappingInput(ReplicationProviderSpecificUpdateContainerM ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus :param automation_account_arm_id: The automation account arm id. :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType """ _validation = { @@ -2298,6 +2359,7 @@ class A2AUpdateContainerMappingInput(ReplicationProviderSpecificUpdateContainerM 'instance_type': {'key': 'instanceType', 'type': 'str'}, 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, } def __init__( @@ -2308,6 +2370,7 @@ def __init__( self.instance_type = 'A2A' # type: str self.agent_auto_update_status = kwargs.get('agent_auto_update_status', None) self.automation_account_arm_id = kwargs.get('automation_account_arm_id', None) + self.automation_account_authentication_type = kwargs.get('automation_account_authentication_type', None) class UpdateReplicationProtectedItemProviderInput(msrest.serialization.Model): @@ -2366,6 +2429,8 @@ class A2AUpdateReplicationProtectedItemInput(UpdateReplicationProtectedItemProvi :type recovery_proximity_placement_group_id: str :param recovery_virtual_machine_scale_set_id: The recovery virtual machine scale set Id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str """ _validation = { @@ -2382,6 +2447,7 @@ class A2AUpdateReplicationProtectedItemInput(UpdateReplicationProtectedItemProvi 'tfo_azure_vm_name': {'key': 'tfoAzureVMName', 'type': 'str'}, 'recovery_proximity_placement_group_id': {'key': 'recoveryProximityPlacementGroupId', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, } def __init__( @@ -2398,6 +2464,7 @@ def __init__( self.tfo_azure_vm_name = kwargs.get('tfo_azure_vm_name', None) self.recovery_proximity_placement_group_id = kwargs.get('recovery_proximity_placement_group_id', None) self.recovery_virtual_machine_scale_set_id = kwargs.get('recovery_virtual_machine_scale_set_id', None) + self.recovery_capacity_reservation_group_id = kwargs.get('recovery_capacity_reservation_group_id', None) class A2AVmDiskInputDetails(msrest.serialization.Model): @@ -7456,6 +7523,8 @@ class HyperVVirtualMachineDetails(ConfigurationSettings): value of SrsDataContract.PresenceStatus enum. Possible values include: "Unknown", "Present", "NotPresent". :type has_shared_vhd: str or ~azure.mgmt.recoveryservicessiterecovery.models.PresenceStatus + :param hyper_v_host_id: The Id of the hyper-v host in fabric. + :type hyper_v_host_id: str """ _validation = { @@ -7471,6 +7540,7 @@ class HyperVVirtualMachineDetails(ConfigurationSettings): 'has_physical_disk': {'key': 'hasPhysicalDisk', 'type': 'str'}, 'has_fibre_channel_adapter': {'key': 'hasFibreChannelAdapter', 'type': 'str'}, 'has_shared_vhd': {'key': 'hasSharedVhd', 'type': 'str'}, + 'hyper_v_host_id': {'key': 'hyperVHostId', 'type': 'str'}, } _subtype_map = { @@ -7490,6 +7560,7 @@ def __init__( self.has_physical_disk = kwargs.get('has_physical_disk', None) self.has_fibre_channel_adapter = kwargs.get('has_fibre_channel_adapter', None) self.has_shared_vhd = kwargs.get('has_shared_vhd', None) + self.hyper_v_host_id = kwargs.get('hyper_v_host_id', None) class IdentityProviderDetails(msrest.serialization.Model): @@ -19226,6 +19297,8 @@ class VmmVirtualMachineDetails(HyperVVirtualMachineDetails): value of SrsDataContract.PresenceStatus enum. Possible values include: "Unknown", "Present", "NotPresent". :type has_shared_vhd: str or ~azure.mgmt.recoveryservicessiterecovery.models.PresenceStatus + :param hyper_v_host_id: The Id of the hyper-v host in fabric. + :type hyper_v_host_id: str """ _validation = { @@ -19241,6 +19314,7 @@ class VmmVirtualMachineDetails(HyperVVirtualMachineDetails): 'has_physical_disk': {'key': 'hasPhysicalDisk', 'type': 'str'}, 'has_fibre_channel_adapter': {'key': 'hasFibreChannelAdapter', 'type': 'str'}, 'has_shared_vhd': {'key': 'hasSharedVhd', 'type': 'str'}, + 'hyper_v_host_id': {'key': 'hyperVHostId', 'type': 'str'}, } def __init__( diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models_py3.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models_py3.py index 2c995b47ac33..15ef554c98ae 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models_py3.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_models_py3.py @@ -242,6 +242,10 @@ class A2AContainerMappingInput(ReplicationProviderSpecificContainerMappingInput) ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus :param automation_account_arm_id: The automation account arm id. :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType """ _validation = { @@ -252,6 +256,7 @@ class A2AContainerMappingInput(ReplicationProviderSpecificContainerMappingInput) 'instance_type': {'key': 'instanceType', 'type': 'str'}, 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, } def __init__( @@ -259,12 +264,14 @@ def __init__( *, agent_auto_update_status: Optional[Union[str, "AgentAutoUpdateStatus"]] = None, automation_account_arm_id: Optional[str] = None, + automation_account_authentication_type: Optional[Union[str, "AutomationAccountAuthenticationType"]] = None, **kwargs ): super(A2AContainerMappingInput, self).__init__(**kwargs) self.instance_type = 'A2A' # type: str self.agent_auto_update_status = agent_auto_update_status self.automation_account_arm_id = automation_account_arm_id + self.automation_account_authentication_type = automation_account_authentication_type class CreateProtectionIntentProviderSpecificDetails(msrest.serialization.Model): @@ -358,6 +365,17 @@ class A2ACreateProtectionIntentInput(CreateProtectionIntentProviderSpecificDetai :type disk_encryption_info: ~azure.mgmt.recoveryservicessiterecovery.models.DiskEncryptionInfo :param recovery_availability_zone: The recovery availability zone. :type recovery_availability_zone: str + :param agent_auto_update_status: A value indicating whether the auto update is enabled. + Possible values include: "Disabled", "Enabled". + :type agent_auto_update_status: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus + :param automation_account_authentication_type: A value indicating the authentication type for + automation account. The default value is "RunAsAccount". Possible values include: + "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType + :param automation_account_arm_id: The automation account arm id. + :type automation_account_arm_id: str """ _validation = { @@ -391,6 +409,9 @@ class A2ACreateProtectionIntentInput(CreateProtectionIntentProviderSpecificDetai 'recovery_boot_diag_storage_account': {'key': 'recoveryBootDiagStorageAccount', 'type': 'StorageAccountCustomDetails'}, 'disk_encryption_info': {'key': 'diskEncryptionInfo', 'type': 'DiskEncryptionInfo'}, 'recovery_availability_zone': {'key': 'recoveryAvailabilityZone', 'type': 'str'}, + 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, + 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, } def __init__( @@ -415,6 +436,9 @@ def __init__( recovery_boot_diag_storage_account: Optional["StorageAccountCustomDetails"] = None, disk_encryption_info: Optional["DiskEncryptionInfo"] = None, recovery_availability_zone: Optional[str] = None, + agent_auto_update_status: Optional[Union[str, "AgentAutoUpdateStatus"]] = None, + automation_account_authentication_type: Optional[Union[str, "AutomationAccountAuthenticationType"]] = None, + automation_account_arm_id: Optional[str] = None, **kwargs ): super(A2ACreateProtectionIntentInput, self).__init__(**kwargs) @@ -438,6 +462,9 @@ def __init__( self.recovery_boot_diag_storage_account = recovery_boot_diag_storage_account self.disk_encryption_info = disk_encryption_info self.recovery_availability_zone = recovery_availability_zone + self.agent_auto_update_status = agent_auto_update_status + self.automation_account_authentication_type = automation_account_authentication_type + self.automation_account_arm_id = automation_account_arm_id class A2ACrossClusterMigrationApplyRecoveryPointInput(ApplyRecoveryPointProviderSpecificInput): @@ -746,6 +773,8 @@ class A2AEnableProtectionInput(EnableProtectionProviderSpecificInput): :type recovery_subnet_name: str :param recovery_virtual_machine_scale_set_id: The virtual machine scale set Id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str """ _validation = { @@ -771,6 +800,7 @@ class A2AEnableProtectionInput(EnableProtectionProviderSpecificInput): 'recovery_azure_network_id': {'key': 'recoveryAzureNetworkId', 'type': 'str'}, 'recovery_subnet_name': {'key': 'recoverySubnetName', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, } def __init__( @@ -792,6 +822,7 @@ def __init__( recovery_azure_network_id: Optional[str] = None, recovery_subnet_name: Optional[str] = None, recovery_virtual_machine_scale_set_id: Optional[str] = None, + recovery_capacity_reservation_group_id: Optional[str] = None, **kwargs ): super(A2AEnableProtectionInput, self).__init__(**kwargs) @@ -812,6 +843,7 @@ def __init__( self.recovery_azure_network_id = recovery_azure_network_id self.recovery_subnet_name = recovery_subnet_name self.recovery_virtual_machine_scale_set_id = recovery_virtual_machine_scale_set_id + self.recovery_capacity_reservation_group_id = recovery_capacity_reservation_group_id class EventProviderSpecificDetails(msrest.serialization.Model): @@ -1384,6 +1416,10 @@ class A2AProtectionContainerMappingDetails(ProtectionContainerMappingProviderSpe ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus :param automation_account_arm_id: The automation account arm id. :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType :param schedule_name: The schedule arm name. :type schedule_name: str :param job_schedule_name: The job schedule arm name. @@ -1398,6 +1434,7 @@ class A2AProtectionContainerMappingDetails(ProtectionContainerMappingProviderSpe 'instance_type': {'key': 'instanceType', 'type': 'str'}, 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, 'schedule_name': {'key': 'scheduleName', 'type': 'str'}, 'job_schedule_name': {'key': 'jobScheduleName', 'type': 'str'}, } @@ -1407,6 +1444,7 @@ def __init__( *, agent_auto_update_status: Optional[Union[str, "AgentAutoUpdateStatus"]] = None, automation_account_arm_id: Optional[str] = None, + automation_account_authentication_type: Optional[Union[str, "AutomationAccountAuthenticationType"]] = None, schedule_name: Optional[str] = None, job_schedule_name: Optional[str] = None, **kwargs @@ -1415,6 +1453,7 @@ def __init__( self.instance_type = 'A2A' # type: str self.agent_auto_update_status = agent_auto_update_status self.automation_account_arm_id = automation_account_arm_id + self.automation_account_authentication_type = automation_account_authentication_type self.schedule_name = schedule_name self.job_schedule_name = job_schedule_name @@ -1782,6 +1821,8 @@ class A2AReplicationDetails(ReplicationProviderSpecificSettings): ~azure.mgmt.recoveryservicessiterecovery.models.AutoProtectionOfDataDisk :param recovery_virtual_machine_scale_set_id: The recovery virtual machine scale set id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str """ _validation = { @@ -1845,6 +1886,7 @@ class A2AReplicationDetails(ReplicationProviderSpecificSettings): 'recovery_proximity_placement_group_id': {'key': 'recoveryProximityPlacementGroupId', 'type': 'str'}, 'auto_protection_of_data_disk': {'key': 'autoProtectionOfDataDisk', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, } def __init__( @@ -1891,6 +1933,7 @@ def __init__( recovery_proximity_placement_group_id: Optional[str] = None, auto_protection_of_data_disk: Optional[Union[str, "AutoProtectionOfDataDisk"]] = None, recovery_virtual_machine_scale_set_id: Optional[str] = None, + recovery_capacity_reservation_group_id: Optional[str] = None, **kwargs ): super(A2AReplicationDetails, self).__init__(**kwargs) @@ -1943,6 +1986,7 @@ def __init__( self.recovery_proximity_placement_group_id = recovery_proximity_placement_group_id self.auto_protection_of_data_disk = auto_protection_of_data_disk self.recovery_virtual_machine_scale_set_id = recovery_virtual_machine_scale_set_id + self.recovery_capacity_reservation_group_id = recovery_capacity_reservation_group_id class ReplicationProtectionIntentProviderSpecificSettings(msrest.serialization.Model): @@ -2034,6 +2078,16 @@ class A2AReplicationIntentDetails(ReplicationProtectionIntentProviderSpecificSet :param recovery_availability_type: Required. The recovery availability type of the virtual machine. :type recovery_availability_type: str + :param agent_auto_update_status: A value indicating whether the auto update is enabled. + Possible values include: "Disabled", "Enabled". + :type agent_auto_update_status: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus + :param automation_account_arm_id: The automation account arm id. + :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType """ _validation = { @@ -2062,6 +2116,9 @@ class A2AReplicationIntentDetails(ReplicationProtectionIntentProviderSpecificSet 'disk_encryption_info': {'key': 'diskEncryptionInfo', 'type': 'DiskEncryptionInfo'}, 'recovery_availability_zone': {'key': 'recoveryAvailabilityZone', 'type': 'str'}, 'recovery_availability_type': {'key': 'recoveryAvailabilityType', 'type': 'str'}, + 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, + 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, } def __init__( @@ -2086,6 +2143,9 @@ def __init__( recovery_boot_diag_storage_account: Optional["StorageAccountCustomDetails"] = None, disk_encryption_info: Optional["DiskEncryptionInfo"] = None, recovery_availability_zone: Optional[str] = None, + agent_auto_update_status: Optional[Union[str, "AgentAutoUpdateStatus"]] = None, + automation_account_arm_id: Optional[str] = None, + automation_account_authentication_type: Optional[Union[str, "AutomationAccountAuthenticationType"]] = None, **kwargs ): super(A2AReplicationIntentDetails, self).__init__(**kwargs) @@ -2109,6 +2169,9 @@ def __init__( self.disk_encryption_info = disk_encryption_info self.recovery_availability_zone = recovery_availability_zone self.recovery_availability_type = recovery_availability_type + self.agent_auto_update_status = agent_auto_update_status + self.automation_account_arm_id = automation_account_arm_id + self.automation_account_authentication_type = automation_account_authentication_type class ReverseReplicationProviderSpecificInput(msrest.serialization.Model): @@ -2261,6 +2324,8 @@ class A2ASwitchProtectionInput(SwitchProtectionProviderSpecificInput): :type recovery_proximity_placement_group_id: str :param recovery_virtual_machine_scale_set_id: The virtual machine scale set id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str :param disk_encryption_info: The recovery disk encryption information. :type disk_encryption_info: ~azure.mgmt.recoveryservicessiterecovery.models.DiskEncryptionInfo """ @@ -2282,6 +2347,7 @@ class A2ASwitchProtectionInput(SwitchProtectionProviderSpecificInput): 'recovery_availability_zone': {'key': 'recoveryAvailabilityZone', 'type': 'str'}, 'recovery_proximity_placement_group_id': {'key': 'recoveryProximityPlacementGroupId', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, 'disk_encryption_info': {'key': 'diskEncryptionInfo', 'type': 'DiskEncryptionInfo'}, } @@ -2299,6 +2365,7 @@ def __init__( recovery_availability_zone: Optional[str] = None, recovery_proximity_placement_group_id: Optional[str] = None, recovery_virtual_machine_scale_set_id: Optional[str] = None, + recovery_capacity_reservation_group_id: Optional[str] = None, disk_encryption_info: Optional["DiskEncryptionInfo"] = None, **kwargs ): @@ -2315,6 +2382,7 @@ def __init__( self.recovery_availability_zone = recovery_availability_zone self.recovery_proximity_placement_group_id = recovery_proximity_placement_group_id self.recovery_virtual_machine_scale_set_id = recovery_virtual_machine_scale_set_id + self.recovery_capacity_reservation_group_id = recovery_capacity_reservation_group_id self.disk_encryption_info = disk_encryption_info @@ -2531,6 +2599,10 @@ class A2AUpdateContainerMappingInput(ReplicationProviderSpecificUpdateContainerM ~azure.mgmt.recoveryservicessiterecovery.models.AgentAutoUpdateStatus :param automation_account_arm_id: The automation account arm id. :type automation_account_arm_id: str + :param automation_account_authentication_type: A value indicating the type authentication to + use for automation Account. Possible values include: "RunAsAccount", "SystemAssignedIdentity". + :type automation_account_authentication_type: str or + ~azure.mgmt.recoveryservicessiterecovery.models.AutomationAccountAuthenticationType """ _validation = { @@ -2541,6 +2613,7 @@ class A2AUpdateContainerMappingInput(ReplicationProviderSpecificUpdateContainerM 'instance_type': {'key': 'instanceType', 'type': 'str'}, 'agent_auto_update_status': {'key': 'agentAutoUpdateStatus', 'type': 'str'}, 'automation_account_arm_id': {'key': 'automationAccountArmId', 'type': 'str'}, + 'automation_account_authentication_type': {'key': 'automationAccountAuthenticationType', 'type': 'str'}, } def __init__( @@ -2548,12 +2621,14 @@ def __init__( *, agent_auto_update_status: Optional[Union[str, "AgentAutoUpdateStatus"]] = None, automation_account_arm_id: Optional[str] = None, + automation_account_authentication_type: Optional[Union[str, "AutomationAccountAuthenticationType"]] = None, **kwargs ): super(A2AUpdateContainerMappingInput, self).__init__(**kwargs) self.instance_type = 'A2A' # type: str self.agent_auto_update_status = agent_auto_update_status self.automation_account_arm_id = automation_account_arm_id + self.automation_account_authentication_type = automation_account_authentication_type class UpdateReplicationProtectedItemProviderInput(msrest.serialization.Model): @@ -2612,6 +2687,8 @@ class A2AUpdateReplicationProtectedItemInput(UpdateReplicationProtectedItemProvi :type recovery_proximity_placement_group_id: str :param recovery_virtual_machine_scale_set_id: The recovery virtual machine scale set Id. :type recovery_virtual_machine_scale_set_id: str + :param recovery_capacity_reservation_group_id: The recovery capacity reservation group Id. + :type recovery_capacity_reservation_group_id: str """ _validation = { @@ -2628,6 +2705,7 @@ class A2AUpdateReplicationProtectedItemInput(UpdateReplicationProtectedItemProvi 'tfo_azure_vm_name': {'key': 'tfoAzureVMName', 'type': 'str'}, 'recovery_proximity_placement_group_id': {'key': 'recoveryProximityPlacementGroupId', 'type': 'str'}, 'recovery_virtual_machine_scale_set_id': {'key': 'recoveryVirtualMachineScaleSetId', 'type': 'str'}, + 'recovery_capacity_reservation_group_id': {'key': 'recoveryCapacityReservationGroupId', 'type': 'str'}, } def __init__( @@ -2641,6 +2719,7 @@ def __init__( tfo_azure_vm_name: Optional[str] = None, recovery_proximity_placement_group_id: Optional[str] = None, recovery_virtual_machine_scale_set_id: Optional[str] = None, + recovery_capacity_reservation_group_id: Optional[str] = None, **kwargs ): super(A2AUpdateReplicationProtectedItemInput, self).__init__(**kwargs) @@ -2653,6 +2732,7 @@ def __init__( self.tfo_azure_vm_name = tfo_azure_vm_name self.recovery_proximity_placement_group_id = recovery_proximity_placement_group_id self.recovery_virtual_machine_scale_set_id = recovery_virtual_machine_scale_set_id + self.recovery_capacity_reservation_group_id = recovery_capacity_reservation_group_id class A2AVmDiskInputDetails(msrest.serialization.Model): @@ -8271,6 +8351,8 @@ class HyperVVirtualMachineDetails(ConfigurationSettings): value of SrsDataContract.PresenceStatus enum. Possible values include: "Unknown", "Present", "NotPresent". :type has_shared_vhd: str or ~azure.mgmt.recoveryservicessiterecovery.models.PresenceStatus + :param hyper_v_host_id: The Id of the hyper-v host in fabric. + :type hyper_v_host_id: str """ _validation = { @@ -8286,6 +8368,7 @@ class HyperVVirtualMachineDetails(ConfigurationSettings): 'has_physical_disk': {'key': 'hasPhysicalDisk', 'type': 'str'}, 'has_fibre_channel_adapter': {'key': 'hasFibreChannelAdapter', 'type': 'str'}, 'has_shared_vhd': {'key': 'hasSharedVhd', 'type': 'str'}, + 'hyper_v_host_id': {'key': 'hyperVHostId', 'type': 'str'}, } _subtype_map = { @@ -8302,6 +8385,7 @@ def __init__( has_physical_disk: Optional[Union[str, "PresenceStatus"]] = None, has_fibre_channel_adapter: Optional[Union[str, "PresenceStatus"]] = None, has_shared_vhd: Optional[Union[str, "PresenceStatus"]] = None, + hyper_v_host_id: Optional[str] = None, **kwargs ): super(HyperVVirtualMachineDetails, self).__init__(**kwargs) @@ -8313,6 +8397,7 @@ def __init__( self.has_physical_disk = has_physical_disk self.has_fibre_channel_adapter = has_fibre_channel_adapter self.has_shared_vhd = has_shared_vhd + self.hyper_v_host_id = hyper_v_host_id class IdentityProviderDetails(msrest.serialization.Model): @@ -21281,6 +21366,8 @@ class VmmVirtualMachineDetails(HyperVVirtualMachineDetails): value of SrsDataContract.PresenceStatus enum. Possible values include: "Unknown", "Present", "NotPresent". :type has_shared_vhd: str or ~azure.mgmt.recoveryservicessiterecovery.models.PresenceStatus + :param hyper_v_host_id: The Id of the hyper-v host in fabric. + :type hyper_v_host_id: str """ _validation = { @@ -21296,6 +21383,7 @@ class VmmVirtualMachineDetails(HyperVVirtualMachineDetails): 'has_physical_disk': {'key': 'hasPhysicalDisk', 'type': 'str'}, 'has_fibre_channel_adapter': {'key': 'hasFibreChannelAdapter', 'type': 'str'}, 'has_shared_vhd': {'key': 'hasSharedVhd', 'type': 'str'}, + 'hyper_v_host_id': {'key': 'hyperVHostId', 'type': 'str'}, } def __init__( @@ -21308,9 +21396,10 @@ def __init__( has_physical_disk: Optional[Union[str, "PresenceStatus"]] = None, has_fibre_channel_adapter: Optional[Union[str, "PresenceStatus"]] = None, has_shared_vhd: Optional[Union[str, "PresenceStatus"]] = None, + hyper_v_host_id: Optional[str] = None, **kwargs ): - super(VmmVirtualMachineDetails, self).__init__(source_item_id=source_item_id, generation=generation, os_details=os_details, disk_details=disk_details, has_physical_disk=has_physical_disk, has_fibre_channel_adapter=has_fibre_channel_adapter, has_shared_vhd=has_shared_vhd, **kwargs) + super(VmmVirtualMachineDetails, self).__init__(source_item_id=source_item_id, generation=generation, os_details=os_details, disk_details=disk_details, has_physical_disk=has_physical_disk, has_fibre_channel_adapter=has_fibre_channel_adapter, has_shared_vhd=has_shared_vhd, hyper_v_host_id=hyper_v_host_id, **kwargs) self.instance_type = 'VmmVirtualMachine' # type: str diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_site_recovery_management_client_enums.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_site_recovery_management_client_enums.py index 8986b8a0a7be..c2fee7ed58ac 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_site_recovery_management_client_enums.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/models/_site_recovery_management_client_enums.py @@ -84,6 +84,13 @@ class AlternateLocationRecoveryOption(with_metaclass(_CaseInsensitiveEnumMeta, s CREATE_VM_IF_NOT_FOUND = "CreateVmIfNotFound" NO_ACTION = "NoAction" +class AutomationAccountAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """A value indicating the type authentication to use for automation Account. + """ + + RUN_AS_ACCOUNT = "RunAsAccount" + SYSTEM_ASSIGNED_IDENTITY = "SystemAssignedIdentity" + class AutoProtectionOfDataDisk(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """A value indicating whether the auto protection is enabled. """ diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_migration_recovery_points_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_migration_recovery_points_operations.py index 1f0caf914f06..f91ead23d031 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_migration_recovery_points_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_migration_recovery_points_operations.py @@ -73,7 +73,7 @@ def list_by_replication_migration_items( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -159,7 +159,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_operations.py index fcb02725c73a..2146129f7c92 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_recovery_points_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_recovery_points_operations.py index 78d736b589bd..d75ca701c70c 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_recovery_points_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_recovery_points_operations.py @@ -73,7 +73,7 @@ def list_by_replication_protected_items( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -159,7 +159,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_alert_settings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_alert_settings_operations.py index 2019db6e50a6..9cddf5d3996d 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_alert_settings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_alert_settings_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -138,7 +138,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -200,7 +200,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_eligibility_results_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_eligibility_results_operations.py index e133f0e83691..284051c63720 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_eligibility_results_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_eligibility_results_operations.py @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -124,7 +124,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_events_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_events_operations.py index 18bd5de7871a..93146e2d06b2 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_events_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_events_operations.py @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -143,7 +143,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_fabrics_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_fabrics_operations.py index 63d4f5712439..885950620cf6 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_fabrics_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_fabrics_operations.py @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -143,7 +143,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -194,7 +194,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -320,7 +320,7 @@ def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -427,7 +427,7 @@ def _check_consistency_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -544,7 +544,7 @@ def _migrate_to_aad_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._migrate_to_aad_initial.metadata['url'] # type: ignore @@ -652,7 +652,7 @@ def _reassociate_gateway_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -778,7 +778,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -886,7 +886,7 @@ def _renew_certificate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_jobs_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_jobs_operations.py index c693bf8e175b..e3d71d58f247 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_jobs_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_jobs_operations.py @@ -69,7 +69,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -145,7 +145,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -193,7 +193,7 @@ def _cancel_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -310,7 +310,7 @@ def _restart_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -428,7 +428,7 @@ def _resume_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -554,7 +554,7 @@ def _export_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_logical_networks_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_logical_networks_operations.py index ea40311d1381..737d2e4b01ef 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_logical_networks_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_logical_networks_operations.py @@ -67,7 +67,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -145,7 +145,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_migration_items_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_migration_items_operations.py index 0cda240e18c6..669e081318de 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_migration_items_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_migration_items_operations.py @@ -81,7 +81,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -169,7 +169,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -222,7 +222,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -363,7 +363,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -491,7 +491,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -632,7 +632,7 @@ def _migrate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -773,7 +773,7 @@ def _resync_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -914,7 +914,7 @@ def _test_migrate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1055,7 +1055,7 @@ def _test_migrate_cleanup_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1210,7 +1210,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_network_mappings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_network_mappings_operations.py index b1eb41ba95cc..dfbadde876aa 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_network_mappings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_network_mappings_operations.py @@ -72,7 +72,7 @@ def list_by_replication_networks( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -154,7 +154,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -207,7 +207,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -347,7 +347,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -469,7 +469,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -615,7 +615,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_networks_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_networks_operations.py index 4bcde4baf9b1..e84eb6300af5 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_networks_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_networks_operations.py @@ -67,7 +67,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -145,7 +145,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -202,7 +202,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_policies_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_policies_operations.py index 5e8c4df515f8..19bbaadf7951 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_policies_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_policies_operations.py @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -140,7 +140,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -189,7 +189,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -315,7 +315,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -423,7 +423,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protectable_items_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protectable_items_operations.py index df2a3b109109..aa82bc1c7557 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protectable_items_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protectable_items_operations.py @@ -79,7 +79,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -167,7 +167,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protected_items_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protected_items_operations.py index 79533a7f16d9..5522d93d0bf0 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protected_items_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protected_items_operations.py @@ -72,7 +72,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -154,7 +154,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -207,7 +207,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -347,7 +347,7 @@ def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -471,7 +471,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -612,7 +612,7 @@ def _add_disks_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -753,7 +753,7 @@ def _apply_recovery_point_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -893,7 +893,7 @@ def _failover_cancel_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1024,7 +1024,7 @@ def _failover_commit_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1156,7 +1156,7 @@ def _planned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1297,7 +1297,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -1429,7 +1429,7 @@ def _remove_disks_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1569,7 +1569,7 @@ def _repair_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1702,7 +1702,7 @@ def _reprotect_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1843,7 +1843,7 @@ def _resolve_health_errors_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1984,7 +1984,7 @@ def _test_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2125,7 +2125,7 @@ def _test_failover_cleanup_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2266,7 +2266,7 @@ def _unplanned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2407,7 +2407,7 @@ def _update_appliance_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2548,7 +2548,7 @@ def _update_mobility_service_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2704,7 +2704,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_container_mappings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_container_mappings_operations.py index ee58c95f7b15..9c598f72a906 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_container_mappings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_container_mappings_operations.py @@ -72,7 +72,7 @@ def list_by_replication_protection_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -154,7 +154,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -207,7 +207,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -347,7 +347,7 @@ def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -469,7 +469,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -610,7 +610,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -746,7 +746,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_containers_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_containers_operations.py index 9e8b7e05492b..1def2d71d518 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_containers_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_containers_operations.py @@ -69,7 +69,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -147,7 +147,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -198,7 +198,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -332,7 +332,7 @@ def _discover_protectable_item_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -465,7 +465,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -580,7 +580,7 @@ def _switch_protection_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -721,7 +721,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_intents_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_intents_operations.py index 452a54d00232..02f5c8d78c88 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_intents_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_protection_intents_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -210,7 +210,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_plans_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_plans_operations.py index 3bdd7240eafc..83b2840a0cab 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_plans_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_plans_operations.py @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -140,7 +140,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -189,7 +189,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -315,7 +315,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -423,7 +423,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -549,7 +549,7 @@ def _failover_cancel_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -666,7 +666,7 @@ def _failover_commit_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -784,7 +784,7 @@ def _planned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -910,7 +910,7 @@ def _reprotect_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -1028,7 +1028,7 @@ def _test_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1155,7 +1155,7 @@ def _test_failover_cleanup_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1282,7 +1282,7 @@ def _unplanned_failover_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_services_providers_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_services_providers_operations.py index 5e8f20fb840e..9c2005d1a44c 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_services_providers_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_recovery_services_providers_operations.py @@ -69,7 +69,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -147,7 +147,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -198,7 +198,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -331,7 +331,7 @@ def _purge_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._purge_initial.metadata['url'] # type: ignore @@ -445,7 +445,7 @@ def _refresh_provider_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -569,7 +569,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -690,7 +690,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classification_mappings_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classification_mappings_operations.py index 7cb2f2dd90df..5e7c0cfa2ad9 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classification_mappings_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classification_mappings_operations.py @@ -72,7 +72,7 @@ def list_by_replication_storage_classifications( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -154,7 +154,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -207,7 +207,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -347,7 +347,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -474,7 +474,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classifications_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classifications_operations.py index a686f82ec3c0..0178650c811a 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classifications_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_storage_classifications_operations.py @@ -67,7 +67,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -145,7 +145,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -202,7 +202,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_health_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_health_operations.py index b7277e7ba229..7a96737c30c2 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_health_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_health_operations.py @@ -65,7 +65,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -111,7 +111,7 @@ def _refresh_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_setting_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_setting_operations.py index ad44479aaecf..90c605156425 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_setting_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replication_vault_setting_operations.py @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -140,7 +140,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -189,7 +189,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replicationv_centers_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replicationv_centers_operations.py index 380e2d21010c..bdd18cdc6c97 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replicationv_centers_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_replicationv_centers_operations.py @@ -69,7 +69,7 @@ def list_by_replication_fabrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -147,7 +147,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -198,7 +198,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -331,7 +331,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -446,7 +446,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -586,7 +586,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_supported_operating_systems_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_supported_operating_systems_operations.py index 48a0c5322e2f..f03787ed9c91 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_supported_operating_systems_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_supported_operating_systems_operations.py @@ -66,7 +66,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_target_compute_sizes_operations.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_target_compute_sizes_operations.py index 0f33a774a7a4..35bf0c5e6545 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_target_compute_sizes_operations.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery/operations/_target_compute_sizes_operations.py @@ -73,7 +73,7 @@ def list_by_replication_protected_items( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-06-01" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None):