diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py index e64c91c5d796..b3535cd0dddf 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-08-01" + self.api_version = "2020-09-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json new file mode 100644 index 000000000000..b56fe47e6a33 --- /dev/null +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json @@ -0,0 +1,71 @@ +{ + "chosen_version": "2020-09-01", + "total_api_version_list": ["2020-09-01"], + "client": { + "name": "NetAppManagementClient", + "filename": "_net_app_management_client", + "description": "Microsoft NetApp Azure Resource Provider specification.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": true + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential, # type: \"AsyncTokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id" + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null + }, + "operation_groups": { + "operations": "Operations", + "net_app_resource": "NetAppResourceOperations", + "accounts": "AccountsOperations", + "pools": "PoolsOperations", + "volumes": "VolumesOperations", + "snapshots": "SnapshotsOperations", + "snapshot_policies": "SnapshotPoliciesOperations", + "account_backups": "AccountBackupsOperations", + "backups": "BackupsOperations", + "backup_policies": "BackupPoliciesOperations", + "vaults": "VaultsOperations" + }, + "operation_mixins": { + }, + "sync_imports": "None", + "async_imports": "None" +} \ No newline at end of file diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_net_app_management_client.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_net_app_management_client.py index f71d24e917d5..30f8ab1da59b 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_net_app_management_client.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_net_app_management_client.py @@ -80,7 +80,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py index 515f51c112dd..c47f66669f1b 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py @@ -6,5 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" - +VERSION = "1.0.0" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py index 7eca6271941f..e1b053a26932 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py @@ -45,7 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-08-01" + self.api_version = "2020-09-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_net_app_management_client.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_net_app_management_client.py index a28a39a32278..0bd52eb924a2 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_net_app_management_client.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_net_app_management_client.py @@ -77,7 +77,6 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.operations = Operations( diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py index 0319336c69c0..84e32634a6bf 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py @@ -66,7 +66,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -129,7 +129,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -178,7 +178,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py index 139750a67ab5..6a35f9220e4a 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-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 = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -187,7 +187,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -317,7 +317,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -426,7 +426,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py index 48ba4d70725f..304cf6250c15 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -146,7 +146,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -196,7 +196,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -351,7 +351,7 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -405,7 +405,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py index 72825c1ae975..1685e445f4df 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py @@ -73,7 +73,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -160,7 +160,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -214,7 +214,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -387,7 +387,7 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -448,7 +448,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py index c48431892652..bcc08fdf1e04 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py @@ -72,7 +72,7 @@ async def check_name_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -144,7 +144,7 @@ async def check_file_path_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -216,7 +216,7 @@ async def check_quota_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.QuotaAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py index a5daceed6315..82e6188e5db6 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/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 = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py index faba0738cefb..b5c59292bd0a 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -146,7 +146,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -196,7 +196,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -334,7 +334,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -468,7 +468,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py index c01fd87f4af0..cd5c89ea54d7 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-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 = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -207,7 +207,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -281,7 +281,7 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -335,7 +335,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -443,7 +443,7 @@ async def list_volumes( snapshot_policy_name: str, **kwargs ) -> "_models.SnapshotPolicyVolumeList": - """Get volumes associated with snapshot policy. + """Get volumes for snapshot policy. Get volumes associated with snapshot policy. @@ -463,7 +463,7 @@ async def list_volumes( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py index cbc050715584..3513181fb622 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py @@ -73,7 +73,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -160,7 +160,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -214,7 +214,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -363,7 +363,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -511,7 +511,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py index 26d09b4375db..b266196c751c 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py index fffe1c07c094..09b3f43e4e63 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -104,7 +104,7 @@ async def extract_data(pipeline_response): list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) async def get_next(next_link=None): request = prepare_request(next_link) @@ -153,7 +153,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -205,7 +205,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -350,7 +350,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -491,7 +491,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -614,7 +614,7 @@ async def _revert_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -746,7 +746,7 @@ async def _break_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -897,7 +897,7 @@ async def replication_status( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -948,7 +948,7 @@ async def _resync_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._resync_replication_initial.metadata['url'] # type: ignore @@ -992,7 +992,7 @@ async def begin_resync_replication( """Resync volume replication. Resync the connection on the destination volume. If the operation is ran on the source volume - it will reverse-resync the connection and sync from source to destination. + it will reverse-resync the connection and sync from destination to source. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1071,7 +1071,7 @@ async def _delete_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_replication_initial.metadata['url'] # type: ignore @@ -1195,7 +1195,7 @@ async def _authorize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -1326,7 +1326,7 @@ async def _re_initialize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._re_initialize_replication_initial.metadata['url'] # type: ignore @@ -1449,7 +1449,7 @@ async def _pool_change_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py index b54b962f0dff..d12f13cea15d 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py @@ -56,6 +56,10 @@ class ActiveDirectory(msrest.serialization.Model): :type aes_encryption: bool :param ldap_signing: Specifies whether or not the LDAP traffic needs to be signed. :type ldap_signing: bool + :param security_operators: Domain Users in the Active directory to be given SeSecurityPrivilege + privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames + without domain specifier. + :type security_operators: list[str] """ _validation = { @@ -84,6 +88,7 @@ class ActiveDirectory(msrest.serialization.Model): 'server_root_ca_certificate': {'key': 'serverRootCACertificate', 'type': 'str'}, 'aes_encryption': {'key': 'aesEncryption', 'type': 'bool'}, 'ldap_signing': {'key': 'ldapSigning', 'type': 'bool'}, + 'security_operators': {'key': 'securityOperators', 'type': '[str]'}, } def __init__( @@ -91,7 +96,7 @@ def __init__( **kwargs ): super(ActiveDirectory, self).__init__(**kwargs) - self.active_directory_id = kwargs.get('active_directory_id', None) + self.active_directory_id = kwargs.get('active_directory_id', "guid id") self.username = kwargs.get('username', None) self.password = kwargs.get('password', None) self.domain = kwargs.get('domain', None) @@ -99,7 +104,7 @@ def __init__( self.status = None self.status_details = None self.smb_server_name = kwargs.get('smb_server_name', None) - self.organizational_unit = kwargs.get('organizational_unit', None) + self.organizational_unit = kwargs.get('organizational_unit', "CN=Computers") self.site = kwargs.get('site', None) self.backup_operators = kwargs.get('backup_operators', None) self.kdc_ip = kwargs.get('kdc_ip', None) @@ -107,6 +112,7 @@ def __init__( self.server_root_ca_certificate = kwargs.get('server_root_ca_certificate', None) self.aes_encryption = kwargs.get('aes_encryption', None) self.ldap_signing = kwargs.get('ldap_signing', None) + self.security_operators = kwargs.get('security_operators', None) class AuthorizeRequest(msrest.serialization.Model): @@ -869,7 +875,7 @@ def __init__( self.kerberos5_i_read_write = kwargs.get('kerberos5_i_read_write', False) self.kerberos5_p_read_only = kwargs.get('kerberos5_p_read_only', False) self.kerberos5_p_read_write = kwargs.get('kerberos5_p_read_write', False) - self.cifs = kwargs.get('cifs', None) + self.cifs = kwargs.get('cifs', False) self.nfsv3 = kwargs.get('nfsv3', None) self.nfsv41 = kwargs.get('nfsv41', None) self.allowed_clients = kwargs.get('allowed_clients', None) @@ -1924,6 +1930,8 @@ class Volume(msrest.serialization.Model): :type tags: dict[str, str] :ivar file_system_id: Unique FileSystem Identifier. :vartype file_system_id: str + :ivar name_properties_name: Resource name. + :vartype name_properties_name: str :param creation_token: Required. A unique file path for the volume. Used when creating mount targets. :type creation_token: str @@ -1936,7 +1944,7 @@ class Volume(msrest.serialization.Model): :type usage_threshold: long :param export_policy: Set of export policy rules. :type export_policy: ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy - :param protocol_types: Set of protocol types. + :param protocol_types: Set of protocol types, default NFSv3, CIFS for SMB protocol. :type protocol_types: list[str] :ivar provisioning_state: Azure lifecycle management. :vartype provisioning_state: str @@ -1949,8 +1957,8 @@ class Volume(msrest.serialization.Model): :param subnet_id: Required. The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. :type subnet_id: str - :param mount_targets: List of mount targets. - :type mount_targets: list[~azure.mgmt.netapp.models.MountTargetProperties] + :ivar mount_targets: List of mount targets. + :vartype mount_targets: list[~azure.mgmt.netapp.models.MountTargetProperties] :param volume_type: What type of volume is this. :type volume_type: str :param data_protection: DataProtection type volumes include an object containing details of the @@ -1964,8 +1972,15 @@ class Volume(msrest.serialization.Model): :param kerberos_enabled: Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. :type kerberos_enabled: bool - :param security_style: The security style of volume. Possible values include: "ntfs", "unix". + :param security_style: The security style of volume, default unix, ntfs for dual protocol or + CIFS protocol. Possible values include: "ntfs", "unix". Default value: "unix". :type security_style: str or ~azure.mgmt.netapp.models.SecurityStyle + :param smb_encryption: Enables encryption for in-flight smb3 data. Only applicable for + SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. + :type smb_encryption: bool + :param smb_continuously_available: Enables continuously available share property for smb + volume. Only applicable for SMB volume. + :type smb_continuously_available: bool :param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume. :type throughput_mibps: float """ @@ -1976,6 +1991,7 @@ class Volume(msrest.serialization.Model): 'name': {'readonly': True}, 'type': {'readonly': True}, 'file_system_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'name_properties_name': {'readonly': True}, 'creation_token': {'required': True, 'max_length': 80, 'min_length': 1, 'pattern': r'^[a-zA-Z][a-zA-Z0-9\-]{0,79}$'}, 'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400}, 'provisioning_state': {'readonly': True}, @@ -1983,7 +1999,8 @@ class Volume(msrest.serialization.Model): 'backup_id': {'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$'}, 'baremetal_tenant_id': {'readonly': True}, 'subnet_id': {'required': True}, - 'throughput_mibps': {'maximum': 4500, 'minimum': 1, 'multiple': 0.001}, + 'mount_targets': {'readonly': True}, + 'throughput_mibps': {'maximum': 4500, 'minimum': 0, 'multiple': 0.001}, } _attribute_map = { @@ -1993,6 +2010,7 @@ class Volume(msrest.serialization.Model): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'name_properties_name': {'key': 'properties.name', 'type': 'str'}, 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, @@ -2010,6 +2028,8 @@ class Volume(msrest.serialization.Model): 'snapshot_directory_visible': {'key': 'properties.snapshotDirectoryVisible', 'type': 'bool'}, 'kerberos_enabled': {'key': 'properties.kerberosEnabled', 'type': 'bool'}, 'security_style': {'key': 'properties.securityStyle', 'type': 'str'}, + 'smb_encryption': {'key': 'properties.smbEncryption', 'type': 'bool'}, + 'smb_continuously_available': {'key': 'properties.smbContinuouslyAvailable', 'type': 'bool'}, 'throughput_mibps': {'key': 'properties.throughputMibps', 'type': 'float'}, } @@ -2024,6 +2044,7 @@ def __init__( self.type = None self.tags = kwargs.get('tags', None) self.file_system_id = None + self.name_properties_name = None self.creation_token = kwargs['creation_token'] self.service_level = kwargs.get('service_level', None) self.usage_threshold = kwargs.get('usage_threshold', 107374182400) @@ -2034,14 +2055,16 @@ def __init__( self.backup_id = kwargs.get('backup_id', None) self.baremetal_tenant_id = None self.subnet_id = kwargs['subnet_id'] - self.mount_targets = kwargs.get('mount_targets', None) + self.mount_targets = None self.volume_type = kwargs.get('volume_type', None) self.data_protection = kwargs.get('data_protection', None) self.is_restoring = kwargs.get('is_restoring', None) - self.snapshot_directory_visible = kwargs.get('snapshot_directory_visible', None) + self.snapshot_directory_visible = kwargs.get('snapshot_directory_visible', True) self.kerberos_enabled = kwargs.get('kerberos_enabled', False) - self.security_style = kwargs.get('security_style', None) - self.throughput_mibps = kwargs.get('throughput_mibps', None) + self.security_style = kwargs.get('security_style', "unix") + self.smb_encryption = kwargs.get('smb_encryption', False) + self.smb_continuously_available = kwargs.get('smb_continuously_available', False) + self.throughput_mibps = kwargs.get('throughput_mibps', 0) class VolumeBackupProperties(msrest.serialization.Model): @@ -2107,10 +2130,13 @@ class VolumeList(msrest.serialization.Model): :param value: List of volumes. :type value: list[~azure.mgmt.netapp.models.Volume] + :param next_link: URL to get the next set of results. + :type next_link: str """ _attribute_map = { 'value': {'key': 'value', 'type': '[Volume]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( @@ -2119,6 +2145,7 @@ def __init__( ): super(VolumeList, self).__init__(**kwargs) self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) class VolumePatch(msrest.serialization.Model): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py index 754b2df12585..98ad212a9166 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py @@ -60,6 +60,10 @@ class ActiveDirectory(msrest.serialization.Model): :type aes_encryption: bool :param ldap_signing: Specifies whether or not the LDAP traffic needs to be signed. :type ldap_signing: bool + :param security_operators: Domain Users in the Active directory to be given SeSecurityPrivilege + privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames + without domain specifier. + :type security_operators: list[str] """ _validation = { @@ -88,18 +92,19 @@ class ActiveDirectory(msrest.serialization.Model): 'server_root_ca_certificate': {'key': 'serverRootCACertificate', 'type': 'str'}, 'aes_encryption': {'key': 'aesEncryption', 'type': 'bool'}, 'ldap_signing': {'key': 'ldapSigning', 'type': 'bool'}, + 'security_operators': {'key': 'securityOperators', 'type': '[str]'}, } def __init__( self, *, - active_directory_id: Optional[str] = None, + active_directory_id: Optional[str] = "guid id", username: Optional[str] = None, password: Optional[str] = None, domain: Optional[str] = None, dns: Optional[str] = None, smb_server_name: Optional[str] = None, - organizational_unit: Optional[str] = None, + organizational_unit: Optional[str] = "CN=Computers", site: Optional[str] = None, backup_operators: Optional[List[str]] = None, kdc_ip: Optional[str] = None, @@ -107,6 +112,7 @@ def __init__( server_root_ca_certificate: Optional[str] = None, aes_encryption: Optional[bool] = None, ldap_signing: Optional[bool] = None, + security_operators: Optional[List[str]] = None, **kwargs ): super(ActiveDirectory, self).__init__(**kwargs) @@ -126,6 +132,7 @@ def __init__( self.server_root_ca_certificate = server_root_ca_certificate self.aes_encryption = aes_encryption self.ldap_signing = ldap_signing + self.security_operators = security_operators class AuthorizeRequest(msrest.serialization.Model): @@ -955,7 +962,7 @@ def __init__( kerberos5_i_read_write: Optional[bool] = False, kerberos5_p_read_only: Optional[bool] = False, kerberos5_p_read_write: Optional[bool] = False, - cifs: Optional[bool] = None, + cifs: Optional[bool] = False, nfsv3: Optional[bool] = None, nfsv41: Optional[bool] = None, allowed_clients: Optional[str] = None, @@ -2138,6 +2145,8 @@ class Volume(msrest.serialization.Model): :type tags: dict[str, str] :ivar file_system_id: Unique FileSystem Identifier. :vartype file_system_id: str + :ivar name_properties_name: Resource name. + :vartype name_properties_name: str :param creation_token: Required. A unique file path for the volume. Used when creating mount targets. :type creation_token: str @@ -2150,7 +2159,7 @@ class Volume(msrest.serialization.Model): :type usage_threshold: long :param export_policy: Set of export policy rules. :type export_policy: ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy - :param protocol_types: Set of protocol types. + :param protocol_types: Set of protocol types, default NFSv3, CIFS for SMB protocol. :type protocol_types: list[str] :ivar provisioning_state: Azure lifecycle management. :vartype provisioning_state: str @@ -2163,8 +2172,8 @@ class Volume(msrest.serialization.Model): :param subnet_id: Required. The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. :type subnet_id: str - :param mount_targets: List of mount targets. - :type mount_targets: list[~azure.mgmt.netapp.models.MountTargetProperties] + :ivar mount_targets: List of mount targets. + :vartype mount_targets: list[~azure.mgmt.netapp.models.MountTargetProperties] :param volume_type: What type of volume is this. :type volume_type: str :param data_protection: DataProtection type volumes include an object containing details of the @@ -2178,8 +2187,15 @@ class Volume(msrest.serialization.Model): :param kerberos_enabled: Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. :type kerberos_enabled: bool - :param security_style: The security style of volume. Possible values include: "ntfs", "unix". + :param security_style: The security style of volume, default unix, ntfs for dual protocol or + CIFS protocol. Possible values include: "ntfs", "unix". Default value: "unix". :type security_style: str or ~azure.mgmt.netapp.models.SecurityStyle + :param smb_encryption: Enables encryption for in-flight smb3 data. Only applicable for + SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. + :type smb_encryption: bool + :param smb_continuously_available: Enables continuously available share property for smb + volume. Only applicable for SMB volume. + :type smb_continuously_available: bool :param throughput_mibps: Maximum throughput in Mibps that can be achieved by this volume. :type throughput_mibps: float """ @@ -2190,6 +2206,7 @@ class Volume(msrest.serialization.Model): 'name': {'readonly': True}, 'type': {'readonly': True}, 'file_system_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'name_properties_name': {'readonly': True}, 'creation_token': {'required': True, 'max_length': 80, 'min_length': 1, 'pattern': r'^[a-zA-Z][a-zA-Z0-9\-]{0,79}$'}, 'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400}, 'provisioning_state': {'readonly': True}, @@ -2197,7 +2214,8 @@ class Volume(msrest.serialization.Model): 'backup_id': {'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$'}, 'baremetal_tenant_id': {'readonly': True}, 'subnet_id': {'required': True}, - 'throughput_mibps': {'maximum': 4500, 'minimum': 1, 'multiple': 0.001}, + 'mount_targets': {'readonly': True}, + 'throughput_mibps': {'maximum': 4500, 'minimum': 0, 'multiple': 0.001}, } _attribute_map = { @@ -2207,6 +2225,7 @@ class Volume(msrest.serialization.Model): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'name_properties_name': {'key': 'properties.name', 'type': 'str'}, 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, @@ -2224,6 +2243,8 @@ class Volume(msrest.serialization.Model): 'snapshot_directory_visible': {'key': 'properties.snapshotDirectoryVisible', 'type': 'bool'}, 'kerberos_enabled': {'key': 'properties.kerberosEnabled', 'type': 'bool'}, 'security_style': {'key': 'properties.securityStyle', 'type': 'str'}, + 'smb_encryption': {'key': 'properties.smbEncryption', 'type': 'bool'}, + 'smb_continuously_available': {'key': 'properties.smbContinuouslyAvailable', 'type': 'bool'}, 'throughput_mibps': {'key': 'properties.throughputMibps', 'type': 'float'}, } @@ -2240,14 +2261,15 @@ def __init__( protocol_types: Optional[List[str]] = None, snapshot_id: Optional[str] = None, backup_id: Optional[str] = None, - mount_targets: Optional[List["MountTargetProperties"]] = None, volume_type: Optional[str] = None, data_protection: Optional["VolumePropertiesDataProtection"] = None, is_restoring: Optional[bool] = None, - snapshot_directory_visible: Optional[bool] = None, + snapshot_directory_visible: Optional[bool] = True, kerberos_enabled: Optional[bool] = False, - security_style: Optional[Union[str, "SecurityStyle"]] = None, - throughput_mibps: Optional[float] = None, + security_style: Optional[Union[str, "SecurityStyle"]] = "unix", + smb_encryption: Optional[bool] = False, + smb_continuously_available: Optional[bool] = False, + throughput_mibps: Optional[float] = 0, **kwargs ): super(Volume, self).__init__(**kwargs) @@ -2257,6 +2279,7 @@ def __init__( self.type = None self.tags = tags self.file_system_id = None + self.name_properties_name = None self.creation_token = creation_token self.service_level = service_level self.usage_threshold = usage_threshold @@ -2267,13 +2290,15 @@ def __init__( self.backup_id = backup_id self.baremetal_tenant_id = None self.subnet_id = subnet_id - self.mount_targets = mount_targets + self.mount_targets = None self.volume_type = volume_type self.data_protection = data_protection self.is_restoring = is_restoring self.snapshot_directory_visible = snapshot_directory_visible self.kerberos_enabled = kerberos_enabled self.security_style = security_style + self.smb_encryption = smb_encryption + self.smb_continuously_available = smb_continuously_available self.throughput_mibps = throughput_mibps @@ -2349,20 +2374,25 @@ class VolumeList(msrest.serialization.Model): :param value: List of volumes. :type value: list[~azure.mgmt.netapp.models.Volume] + :param next_link: URL to get the next set of results. + :type next_link: str """ _attribute_map = { 'value': {'key': 'value', 'type': '[Volume]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } def __init__( self, *, value: Optional[List["Volume"]] = None, + next_link: Optional[str] = None, **kwargs ): super(VolumeList, self).__init__(**kwargs) self.value = value + self.next_link = next_link class VolumePatch(msrest.serialization.Model): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py index 41b21e36628c..74ef0748975c 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py @@ -101,7 +101,7 @@ class ReplicationSchedule(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): DAILY = "daily" class SecurityStyle(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The security style of volume + """The security style of volume, default unix, ntfs for dual protocol or CIFS protocol """ NTFS = "ntfs" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py index 6a97828369d7..b003caedc9c0 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py @@ -71,7 +71,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -135,7 +135,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -185,7 +185,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py index 87839a8de639..84eb3d017a7f 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py @@ -69,7 +69,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-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 = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -194,7 +194,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -326,7 +326,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -437,7 +437,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py index 384cc10607b4..20499dfde76b 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -152,7 +152,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -360,7 +360,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -415,7 +415,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py index 545abdd36d1a..3c0beba5a790 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py @@ -78,7 +78,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -166,7 +166,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -221,7 +221,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -396,7 +396,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -458,7 +458,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py index 1e6fc278cb6d..bcf2663482a0 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py @@ -77,7 +77,7 @@ def check_name_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -150,7 +150,7 @@ def check_file_path_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -223,7 +223,7 @@ def check_quota_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.QuotaAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py index 4b26eb2a43aa..0a606259be95 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py index 13b9e3d2032c..92f4e25ad1eb 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -152,7 +152,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -343,7 +343,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -479,7 +479,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py index 8c5ac921398b..ff7f1df8c232 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-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 = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -214,7 +214,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -289,7 +289,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -344,7 +344,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -454,7 +454,7 @@ def list_volumes( **kwargs # type: Any ): # type: (...) -> "_models.SnapshotPolicyVolumeList" - """Get volumes associated with snapshot policy. + """Get volumes for snapshot policy. Get volumes associated with snapshot policy. @@ -474,7 +474,7 @@ def list_volumes( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py index b7eed4954269..77e3e940ac58 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py @@ -78,7 +78,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -166,7 +166,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -221,7 +221,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -372,7 +372,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -522,7 +522,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py index 4bcbcff32cd5..4b8159a3a66d 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py index cab4eca82f95..5bb2306c6fba 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py @@ -75,7 +75,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" def prepare_request(next_link=None): @@ -109,7 +109,7 @@ def extract_data(pipeline_response): list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) def get_next(next_link=None): request = prepare_request(next_link) @@ -159,7 +159,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -212,7 +212,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -359,7 +359,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -502,7 +502,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -627,7 +627,7 @@ def _revert_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -761,7 +761,7 @@ def _break_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -914,7 +914,7 @@ def replication_status( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" accept = "application/json" # Construct URL @@ -966,7 +966,7 @@ def _resync_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._resync_replication_initial.metadata['url'] # type: ignore @@ -1011,7 +1011,7 @@ def begin_resync_replication( """Resync volume replication. Resync the connection on the destination volume. If the operation is ran on the source volume - it will reverse-resync the connection and sync from source to destination. + it will reverse-resync the connection and sync from destination to source. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1091,7 +1091,7 @@ def _delete_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._delete_replication_initial.metadata['url'] # type: ignore @@ -1217,7 +1217,7 @@ def _authorize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -1350,7 +1350,7 @@ def _re_initialize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" # Construct URL url = self._re_initialize_replication_initial.metadata['url'] # type: ignore @@ -1475,7 +1475,7 @@ def _pool_change_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-08-01" + api_version = "2020-09-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL