From 9766a4bf91f42589cba8df29ad7ada462ffe7882 Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Fri, 4 Oct 2019 15:16:37 -0700 Subject: [PATCH 01/19] switched vault_url to vault_endpoint across key vault --- .../azure-keyvault-certificates/README.md | 6 +- .../keyvault/certificates/_shared/__init__.py | 4 +- .../certificates/_shared/async_client_base.py | 12 ++-- .../certificates/_shared/client_base.py | 12 ++-- .../azure/keyvault/certificates/aio/client.py | 58 +++++++++---------- .../azure/keyvault/certificates/client.py | 58 +++++++++---------- .../azure/keyvault/certificates/models.py | 8 +-- .../samples/backup_restore_operations.py | 6 +- .../backup_restore_operations_async.py | 6 +- .../samples/contacts.py | 6 +- .../samples/contacts_async.py | 6 +- .../samples/hello_world.py | 6 +- .../samples/hello_world_async.py | 6 +- .../samples/issuers.py | 6 +- .../samples/issuers_async.py | 6 +- .../samples/list_operations.py | 6 +- .../samples/list_operations_async.py | 6 +- .../samples/recover_purge_operations.py | 6 +- .../samples/recover_purge_operations_async.py | 6 +- .../tests/certificates_vault_client.py | 6 +- .../tests/certificates_vault_client_async.py | 6 +- .../tests/test_certificates_client.py | 20 +++---- .../tests/test_certificates_client_async.py | 30 +++++----- .../tests/test_examples_certificates.py | 4 +- .../tests/test_examples_certificates_async.py | 4 +- sdk/keyvault/azure-keyvault-keys/README.md | 10 ++-- .../azure/keyvault/keys/_shared/__init__.py | 4 +- .../keys/_shared/async_client_base.py | 12 ++-- .../keyvault/keys/_shared/client_base.py | 12 ++-- .../azure/keyvault/keys/aio/client.py | 28 ++++----- .../azure/keyvault/keys/client.py | 28 ++++----- .../azure/keyvault/keys/crypto/aio/client.py | 18 +++--- .../azure/keyvault/keys/crypto/client.py | 18 +++--- .../azure/keyvault/keys/models.py | 4 +- .../samples/backup_restore_operations.py | 6 +- .../backup_restore_operations_async.py | 6 +- .../samples/hello_world.py | 6 +- .../samples/hello_world_async.py | 6 +- .../samples/list_operations.py | 6 +- .../samples/list_operations_async.py | 6 +- .../samples/recover_purge_operations.py | 6 +- .../samples/recover_purge_operations_async.py | 6 +- .../tests/keys_vault_client.py | 6 +- .../tests/keys_vault_client_async.py | 6 +- .../tests/test_crypto_client.py | 2 +- .../tests/test_crypto_client_async.py | 2 +- .../tests/test_key_client.py | 8 +-- .../tests/test_keys_async.py | 8 +-- .../tests/test_samples_keys.py | 6 +- .../tests/test_samples_keys_async.py | 6 +- sdk/keyvault/azure-keyvault-secrets/README.md | 8 +-- .../keyvault/secrets/_shared/__init__.py | 4 +- .../secrets/_shared/async_client_base.py | 12 ++-- .../keyvault/secrets/_shared/client_base.py | 12 ++-- .../azure/keyvault/secrets/aio/client.py | 26 ++++----- .../azure/keyvault/secrets/client.py | 26 ++++----- .../azure/keyvault/secrets/models.py | 4 +- .../samples/backup_restore_operations.py | 6 +- .../backup_restore_operations_async.py | 6 +- .../samples/hello_world.py | 6 +- .../samples/hello_world_async.py | 6 +- .../samples/list_operations.py | 6 +- .../samples/list_operations_async.py | 6 +- .../samples/recover_purge_operations.py | 6 +- .../samples/recover_purge_operations_async.py | 6 +- .../tests/secrets_vault_client.py | 6 +- .../tests/secrets_vault_client_async.py | 6 +- .../tests/test_samples_secrets.py | 6 +- .../tests/test_samples_secrets_async.py | 6 +- .../tests/test_secrets_async.py | 6 +- .../tests/test_secrets_client.py | 6 +- 71 files changed, 351 insertions(+), 351 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/README.md b/sdk/keyvault/azure-keyvault-certificates/README.md index 804fcc528aab..980ce895bb3e 100644 --- a/sdk/keyvault/azure-keyvault-certificates/README.md +++ b/sdk/keyvault/azure-keyvault-certificates/README.md @@ -59,7 +59,7 @@ names): } ``` - > The `"vaultUri"` property is the `vault_url` used by `CertificateClient` + > The `"vaultUri"` property is the `vault_endpoint` used by `CertificateClient` ### Authenticate the client In order to interact with a Key Vault's certificates, you'll need an instance @@ -116,7 +116,7 @@ from azure.keyvault.certificates import CertificateClient credential = DefaultAzureCredential() # Create a new certificate client using the default credential -certificate_client = CertificateClient(vault_url=, credential=credential) +certificate_client = CertificateClient(vault_endpoint=, credential=credential) ``` ## Key concepts With a `CertificateClient` you can get certificates from the vault, create new certificates and @@ -278,7 +278,7 @@ file_handler = logging.FileHandler(filename) logger.addHandler(file_handler) # Enable network trace logging. Each HTTP request will be logged at DEBUG level. -client = CertificateClient(vault_url=url, credential=credential, logging_enable=True)) +client = CertificateClient(vault_endpoint=url, credential=credential, logging_enable=True)) ``` Network trace logging can also be enabled for any single operation: diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/__init__.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/__init__.py index a8fd2a41d71f..6cbd019761da 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/__init__.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/__init__.py @@ -23,7 +23,7 @@ "KeyVaultClientBase", ] -_VaultId = namedtuple("VaultId", ["vault_url", "collection", "name", "version"]) +_VaultId = namedtuple("VaultId", ["vault_endpoint", "collection", "name", "version"]) def parse_vault_id(url): @@ -40,7 +40,7 @@ def parse_vault_id(url): raise ValueError("'{}' is not not a valid vault url".format(url)) return _VaultId( - vault_url="{}://{}".format(parsed_uri.scheme, parsed_uri.hostname), + vault_endpoint="{}://{}".format(parsed_uri.scheme, parsed_uri.hostname), collection=path[0], name=path[1], version=path[2] if len(path) == 3 else None, diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/async_client_base.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/async_client_base.py index 064382fd6ab0..b571e27fe9dd 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/async_client_base.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/async_client_base.py @@ -59,7 +59,7 @@ def _create_config(credential: "TokenCredential", api_version: str = None, **kwa def __init__( self, - vault_url: str, + vault_endpoint: str, credential: "TokenCredential", transport: AsyncHttpTransport = None, api_version: str = None, @@ -70,10 +70,10 @@ def __init__( "credential should be an object supporting the TokenCredential protocol, " "such as a credential from azure-identity" ) - if not vault_url: - raise ValueError("vault_url must be the URL of an Azure Key Vault") + if not vault_endpoint: + raise ValueError("vault_endpoint must be the URL of an Azure Key Vault") - self._vault_url = vault_url.strip(" /") + self._vault_endpoint = vault_endpoint.strip(" /") client = kwargs.pop("generated_client", None) if client: @@ -109,5 +109,5 @@ def _build_pipeline(config: Configuration, transport: AsyncHttpTransport, **kwar return AsyncPipeline(transport, policies=policies) @property - def vault_url(self) -> str: - return self._vault_url + def vault_endpoint(self) -> str: + return self._vault_endpoint diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py index 54f033e55d28..7b30e1886860 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py @@ -56,17 +56,17 @@ def _create_config(credential, api_version=None, **kwargs): return config - def __init__(self, vault_url, credential, transport=None, api_version=None, **kwargs): + def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None if not credential: raise ValueError( "credential should be an object supporting the TokenCredential protocol, " "such as a credential from azure-identity" ) - if not vault_url: - raise ValueError("vault_url must be the URL of an Azure Key Vault") + if not vault_endpoint: + raise ValueError("vault_endpoint must be the URL of an Azure Key Vault") - self._vault_url = vault_url.strip(" /") + self._vault_endpoint = vault_endpoint.strip(" /") client = kwargs.pop("generated_client", None) if client: @@ -101,6 +101,6 @@ def _build_pipeline(self, config, transport, **kwargs): return Pipeline(transport, policies=policies) @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str - return self._vault_url + return self._vault_endpoint diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py index 0508529ee695..edccc0401672 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py @@ -85,7 +85,7 @@ async def create_certificate( # pylint: disable=protected-access policy = CertificatePolicy._get_default_certificate_policy() cert_bundle = await self._client.create_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_policy=policy._to_certificate_policy_bundle(), certificate_attributes=attributes, @@ -126,7 +126,7 @@ async def get_certificate_with_policy(self, name: str, **kwargs: "**Any") -> Cer :dedent: 8 """ bundle = await self._client.get_certificate( - vault_base_url=self.vault_url, certificate_name=name, certificate_version="", error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -154,7 +154,7 @@ async def get_certificate(self, name: str, version: str, **kwargs: "**Any") -> C :dedent: 8 """ bundle = await self._client.get_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version, error_map=error_map, @@ -187,7 +187,7 @@ async def delete_certificate(self, name: str, **kwargs: "**Any") -> DeletedCerti :dedent: 8 """ bundle = await self._client.delete_certificate( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -216,7 +216,7 @@ async def get_deleted_certificate(self, name: str, **kwargs: "**Any") -> Deleted :dedent: 8 """ bundle = await self._client.get_deleted_certificate( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -234,7 +234,7 @@ async def purge_deleted_certificate(self, name: str, **kwargs: "**Any") -> None: :rtype: None :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - await self._client.purge_deleted_certificate(vault_base_url=self.vault_url, certificate_name=name, **kwargs) + await self._client.purge_deleted_certificate(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) @distributed_trace_async async def recover_deleted_certificate(self, name: str, **kwargs: "**Any") -> Certificate: @@ -260,7 +260,7 @@ async def recover_deleted_certificate(self, name: str, **kwargs: "**Any") -> Cer :dedent: 8 """ bundle = await self._client.recover_deleted_certificate( - vault_base_url=self.vault_url, certificate_name=name, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -304,7 +304,7 @@ async def import_certificate( attributes = None base64_encoded_certificate = base64.b64encode(certificate_bytes).decode("utf-8") bundle = await self._client.import_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, base64_encoded_certificate=base64_encoded_certificate, password=password, @@ -328,7 +328,7 @@ async def get_policy(self, name: str, **kwargs: "**Any") -> CertificatePolicy: :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = await self._client.get_certificate_policy( - vault_base_url=self.vault_url, certificate_name=name, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs ) return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @@ -347,7 +347,7 @@ async def update_policy(self, name: str, policy: CertificatePolicy, **kwargs: "* :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = await self._client.update_certificate_policy( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_policy=policy._to_certificate_policy_bundle(), **kwargs @@ -392,7 +392,7 @@ async def update_certificate_properties( attributes = None bundle = await self._client.update_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version or "", certificate_attributes=attributes, @@ -425,7 +425,7 @@ async def backup_certificate(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_certificate( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return backup_result.value @@ -450,7 +450,7 @@ async def restore_certificate(self, backup: bytes, **kwargs: "**Any") -> Certifi :dedent: 8 """ bundle = await self._client.restore_certificate( - vault_base_url=self.vault_url, certificate_bundle_backup=backup, **kwargs + vault_base_url=self.vault_endpoint, certificate_bundle_backup=backup, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -483,7 +483,7 @@ def list_deleted_certificates( """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_deleted_certificates( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, maxresults=max_page_size, include_pending=include_pending, cls=lambda objs: [DeletedCertificate._from_deleted_certificate_item(x) for x in objs], @@ -517,7 +517,7 @@ def list_certificates( """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_certificates( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, maxresults=max_page_size, include_pending=include_pending, cls=lambda objs: [CertificateProperties._from_certificate_item(x) for x in objs], @@ -548,7 +548,7 @@ def list_certificate_versions(self, name: str, **kwargs: "**Any") -> AsyncIterab """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_certificate_versions( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, certificate_name=name, maxresults=max_page_size, cls=lambda objs: [CertificateProperties._from_certificate_item(x) for x in objs], @@ -581,7 +581,7 @@ async def create_contacts(self, contacts: Iterable[Contact], **kwargs: "**Any") :dedent: 8 """ contacts = await self._client.set_certificate_contacts( - vault_base_url=self.vault_url, contact_list=[c._to_certificate_contacts_item() for c in contacts], **kwargs + vault_base_url=self.vault_endpoint, contact_list=[c._to_certificate_contacts_item() for c in contacts], **kwargs ) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @@ -609,7 +609,7 @@ async def get_contacts(self, **kwargs: "**Any") -> List[Contact]: :caption: Get contacts :dedent: 8 """ - contacts = await self._client.get_certificate_contacts(vault_base_url=self._vault_url, **kwargs) + contacts = await self._client.get_certificate_contacts(vault_base_url=self._vault_endpoint, **kwargs) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @distributed_trace_async @@ -635,7 +635,7 @@ async def delete_contacts(self, **kwargs: "**Any") -> List[Contact]: :caption: Delete contacts :dedent: 8 """ - contacts = await self._client.delete_certificate_contacts(vault_base_url=self.vault_url, **kwargs) + contacts = await self._client.delete_certificate_contacts(vault_base_url=self.vault_endpoint, **kwargs) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @distributed_trace_async @@ -654,7 +654,7 @@ async def get_certificate_operation(self, name: str, **kwargs: "**Any") -> Certi """ bundle = await self._client.get_certificate_operation( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -674,7 +674,7 @@ async def delete_certificate_operation(self, name: str, **kwargs: "**Any") -> Ce :class:`~azure.core.exceptions.HttpResponseError` for other errors """ bundle = await self._client.delete_certificate_operation( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -691,7 +691,7 @@ async def cancel_certificate_operation(self, name: str, **kwargs: "**Any") -> Ce :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = await self._client.update_certificate_operation( - vault_base_url=self.vault_url, certificate_name=name, cancellation_requested=True, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, cancellation_requested=True, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -708,7 +708,7 @@ async def get_pending_certificate_signing_request( :rtype: str :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - vault_base_url = self.vault_url + vault_base_url = self.vault_endpoint # Construct URL url = "/certificates/{certificate-name}/pending" path_format_arguments = { @@ -779,7 +779,7 @@ async def merge_certificate( else: attributes = None bundle = await self._client.merge_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, x509_certificates=x509_certificates, certificate_attributes=attributes, @@ -811,7 +811,7 @@ async def get_issuer(self, name: str, **kwargs: "**Any") -> Issuer: :dedent: 8 """ issuer_bundle = await self._client.get_certificate_issuer( - vault_base_url=self.vault_url, issuer_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) @@ -880,7 +880,7 @@ async def create_issuer( else: issuer_attributes = None issuer_bundle = await self._client.set_certificate_issuer( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, issuer_name=name, provider=provider, credentials=issuer_credentials, @@ -946,7 +946,7 @@ async def update_issuer( else: issuer_attributes = None issuer_bundle = await self._client.update_certificate_issuer( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, issuer_name=name, provider=provider, credentials=issuer_credentials, @@ -977,7 +977,7 @@ async def delete_issuer(self, name: str, **kwargs: "**Any") -> Issuer: :dedent: 8 """ issuer_bundle = await self._client.delete_certificate_issuer( - vault_base_url=self.vault_url, issuer_name=name, **kwargs + vault_base_url=self.vault_endpoint, issuer_name=name, **kwargs ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) @@ -1003,7 +1003,7 @@ def list_issuers(self, **kwargs: "**Any") -> AsyncIterable[IssuerProperties]: """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_certificate_issuers( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, maxresults=max_page_size, cls=lambda objs: [IssuerProperties._from_issuer_item(x) for x in objs], **kwargs diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index df5ab425f833..85cf7f4b71c0 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -95,7 +95,7 @@ def create_certificate( policy = CertificatePolicy._get_default_certificate_policy() cert_bundle = self._client.create_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_policy=policy._to_certificate_policy_bundle(), certificate_attributes=attributes, @@ -138,7 +138,7 @@ def get_certificate_with_policy(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_certificate( - vault_base_url=self.vault_url, certificate_name=name, certificate_version="", error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -167,7 +167,7 @@ def get_certificate(self, name, version, **kwargs): :dedent: 8 """ bundle = self._client.get_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version, error_map=error_map, @@ -201,7 +201,7 @@ def delete_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.delete_certificate( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -231,7 +231,7 @@ def get_deleted_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_deleted_certificate( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -250,7 +250,7 @@ def purge_deleted_certificate(self, name, **kwargs): :rtype: None :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - self._client.purge_deleted_certificate(vault_base_url=self.vault_url, certificate_name=name, **kwargs) + self._client.purge_deleted_certificate(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) @distributed_trace def recover_deleted_certificate(self, name, **kwargs): @@ -277,7 +277,7 @@ def recover_deleted_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.recover_deleted_certificate( - vault_base_url=self.vault_url, certificate_name=name, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -323,7 +323,7 @@ def import_certificate( attributes = None base64_encoded_certificate = base64.b64encode(certificate_bytes).decode("utf-8") bundle = self._client.import_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, base64_encoded_certificate=base64_encoded_certificate, password=password, @@ -347,7 +347,7 @@ def get_policy(self, name, **kwargs): :rtype: ~azure.keyvault.certificates.models.CertificatePolicy :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - bundle = self._client.get_certificate_policy(vault_base_url=self.vault_url, certificate_name=name, **kwargs) + bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace @@ -366,7 +366,7 @@ def update_policy(self, name, policy, **kwargs): :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = self._client.update_certificate_policy( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_policy=policy._to_certificate_policy_bundle(), **kwargs @@ -413,7 +413,7 @@ def update_certificate_properties( attributes = None bundle = self._client.update_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version or "", certificate_attributes=attributes, @@ -447,7 +447,7 @@ def backup_certificate(self, name, **kwargs): :dedent: 8 """ backup_result = self._client.backup_certificate( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return backup_result.value @@ -473,7 +473,7 @@ def restore_certificate(self, backup, **kwargs): :dedent: 8 """ bundle = self._client.restore_certificate( - vault_base_url=self.vault_url, certificate_bundle_backup=backup, **kwargs + vault_base_url=self.vault_endpoint, certificate_bundle_backup=backup, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -505,7 +505,7 @@ def list_deleted_certificates(self, include_pending=None, **kwargs): """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_deleted_certificates( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, maxresults=max_page_size, include_pending=include_pending, cls=lambda objs: [ @@ -540,7 +540,7 @@ def list_certificates(self, include_pending=None, **kwargs): """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_certificates( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, maxresults=max_page_size, include_pending=include_pending, cls=lambda objs: [CertificateProperties._from_certificate_item(certificate_item=x) for x in objs], @@ -572,7 +572,7 @@ def list_certificate_versions(self, name, **kwargs): """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_certificate_versions( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, certificate_name=name, maxresults=max_page_size, cls=lambda objs: [CertificateProperties._from_certificate_item(certificate_item=x) for x in objs], @@ -602,7 +602,7 @@ def create_contacts(self, contacts, **kwargs): :dedent: 8 """ contacts = self._client.set_certificate_contacts( - vault_base_url=self.vault_url, contact_list=[c._to_certificate_contacts_item() for c in contacts], **kwargs + vault_base_url=self.vault_endpoint, contact_list=[c._to_certificate_contacts_item() for c in contacts], **kwargs ) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @@ -627,7 +627,7 @@ def get_contacts(self, **kwargs): :caption: Get contacts :dedent: 8 """ - contacts = self._client.get_certificate_contacts(vault_base_url=self._vault_url, **kwargs) + contacts = self._client.get_certificate_contacts(vault_base_url=self._vault_endpoint, **kwargs) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @distributed_trace @@ -650,7 +650,7 @@ def delete_contacts(self, **kwargs): :caption: Delete contacts :dedent: 8 """ - contacts = self._client.delete_certificate_contacts(vault_base_url=self.vault_url, **kwargs) + contacts = self._client.delete_certificate_contacts(vault_base_url=self.vault_endpoint, **kwargs) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @distributed_trace @@ -670,7 +670,7 @@ def get_certificate_operation(self, name, **kwargs): """ bundle = self._client.get_certificate_operation( - vault_base_url=self.vault_url, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -689,7 +689,7 @@ def delete_certificate_operation(self, name, **kwargs): :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = self._client.delete_certificate_operation( - vault_base_url=self.vault_url, certificate_name=name, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -707,7 +707,7 @@ def cancel_certificate_operation(self, name, **kwargs): :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = self._client.update_certificate_operation( - vault_base_url=self.vault_url, certificate_name=name, cancellation_requested=True, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, cancellation_requested=True, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -744,7 +744,7 @@ def merge_certificate( else: attributes = None bundle = self._client.merge_certificate( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, certificate_name=name, x509_certificates=x509_certificates, certificate_attributes=attributes, @@ -769,7 +769,7 @@ def get_pending_certificate_signing_request( :rtype: str :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - vault_base_url = self.vault_url + vault_base_url = self.vault_endpoint # Construct URL url = "/certificates/{certificate-name}/pending" path_format_arguments = { @@ -830,7 +830,7 @@ def get_issuer(self, name, **kwargs): :dedent: 8 """ issuer_bundle = self._client.get_certificate_issuer( - vault_base_url=self.vault_url, issuer_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) @@ -900,7 +900,7 @@ def create_issuer( else: issuer_attributes = None issuer_bundle = self._client.set_certificate_issuer( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, issuer_name=name, provider=provider, credentials=issuer_credentials, @@ -967,7 +967,7 @@ def update_issuer( else: issuer_attributes = None issuer_bundle = self._client.update_certificate_issuer( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, issuer_name=name, provider=provider, credentials=issuer_credentials, @@ -999,7 +999,7 @@ def delete_issuer(self, name, **kwargs): :dedent: 8 """ issuer_bundle = self._client.delete_certificate_issuer( - vault_base_url=self.vault_url, issuer_name=name, **kwargs + vault_base_url=self.vault_endpoint, issuer_name=name, **kwargs ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) @@ -1026,7 +1026,7 @@ def list_issuers(self, **kwargs): """ max_page_size = kwargs.pop("max_page_size", None) return self._client.get_certificate_issuers( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, maxresults=max_page_size, cls=lambda objs: [IssuerProperties._from_issuer_item(issuer_item=x) for x in objs], **kwargs diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/models.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/models.py index 93c9276353f1..00653f44f200 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/models.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/models.py @@ -212,13 +212,13 @@ def recovery_level(self): return self._attributes.recovery_level if self._attributes else None @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str """The name of the vault that the certificate is created in. :rtype: str """ - return self._vault_id.vault_url + return self._vault_id.vault_endpoint @property def thumbprint(self): @@ -1116,13 +1116,13 @@ def provider(self): return self._provider @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str """The name of the vault with this issuer. :rtype: str """ - return self._vault_id.vault_url + return self._vault_id.vault_endpoint class Issuer(object): diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations.py b/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations.py index aa7f6688a280..a3fc87ef7db0 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = CertificateClient(vault_url=VAULT_URL, credential=credential) +client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: print("\n.. Create Certificate") cert_name = "BackupRestoreCertificate" diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py b/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py index ef77da086c66..4b0eea0e28db 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/backup_restore_operations_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, vault_endpoint # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -37,9 +37,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + vault_endpoint = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = CertificateClient(vault_url=VAULT_URL, credential=credential) + client = CertificateClient(vault_endpoint=vault_endpoint, credential=credential) try: print("\n.. Create Certificate") diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/contacts.py b/sdk/keyvault/azure-keyvault-certificates/samples/contacts.py index ee7c34890f6a..54d7d56f5ee4 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/contacts.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/contacts.py @@ -13,7 +13,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -30,9 +30,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = CertificateClient(vault_url=VAULT_URL, credential=credential) +client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # First we create a list of Contacts that we would like to make the certificate contacts for this key vault. contact_list = [ diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/contacts_async.py b/sdk/keyvault/azure-keyvault-certificates/samples/contacts_async.py index 9aceb18c67f7..84eff0990f24 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/contacts_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/contacts_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -33,9 +33,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = CertificateClient(vault_url=VAULT_URL, credential=credential) + client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: contact_list = [ Contact(email="admin@contoso.com", name="John Doe", phone="1111111111"), diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/hello_world.py b/sdk/keyvault/azure-keyvault-certificates/samples/hello_world.py index 9ceae839ed28..824a80060bcb 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/hello_world.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/hello_world.py @@ -13,7 +13,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -33,9 +33,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = CertificateClient(vault_url=VAULT_URL, credential=credential) +client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a certificate for holding bank account credentials valid for 1 year. # if the certificate already exists in the Key Vault, then a new version of the certificate is created. diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/hello_world_async.py b/sdk/keyvault/azure-keyvault-certificates/samples/hello_world_async.py index 3a5bc1a79712..f83228383d1e 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/hello_world_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/hello_world_async.py @@ -15,7 +15,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -37,9 +37,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = CertificateClient(vault_url=VAULT_URL, credential=credential) + client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a certificate for holding bank account credentials valid for 1 year. # if the certificate already exists in the Key Vault, then a new version of the certificate is created. diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/issuers.py b/sdk/keyvault/azure-keyvault-certificates/samples/issuers.py index f88f7e55afb2..6e3e1717c452 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/issuers.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/issuers.py @@ -13,7 +13,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -34,9 +34,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = CertificateClient(vault_url=VAULT_URL, credential=credential) +client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # First we specify the AdministratorDetails for our issuers. admin_details = [ diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/issuers_async.py b/sdk/keyvault/azure-keyvault-certificates/samples/issuers_async.py index 0b913c0b13c2..8394c3a7afdd 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/issuers_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/issuers_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -37,9 +37,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = CertificateClient(vault_url=VAULT_URL, credential=credential) + client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # First we specify the AdministratorDetails for our issuers. admin_details = [ diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/list_operations.py b/sdk/keyvault/azure-keyvault-certificates/samples/list_operations.py index 30236f3319b6..e16d29528e88 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/list_operations.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/list_operations.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ # Instantiate a certificate client that will be used to call the service. Notice that the client is using default # Azure credentials. To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = CertificateClient(vault_url=VAULT_URL, credential=credential) +client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a certificate for holding storage and bank accounts credentials. If the certificate # already exists in the Key Vault, then a new version of the certificate is created. diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/list_operations_async.py b/sdk/keyvault/azure-keyvault-certificates/samples/list_operations_async.py index 8cde49aa15e9..cac02f9ced93 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/list_operations_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/list_operations_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -36,9 +36,9 @@ async def run_sample(): # Instantiate a certificate client that will be used to call the service. Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = CertificateClient(vault_url=VAULT_URL, credential=credential) + client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a certificate for holding storage and bank accounts credentials. If the certificate # already exists in the Key Vault, then a new version of the certificate is created. diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations.py b/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations.py index 74306a0f16d8..b850faaae3fc 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -34,9 +34,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = CertificateClient(vault_url=VAULT_URL, credential=credential) +client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create certificates holding storage and bank accounts credentials. If the certificate # already exists in the Key Vault, then a new version of the certificate is created. diff --git a/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations_async.py b/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations_async.py index 20fc698944fd..253c70998081 100644 --- a/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/samples/recover_purge_operations_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-certificates and azure-identity packages (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = CertificateClient(vault_url=VAULT_URL, credential=credential) + client = CertificateClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create certificates holding storage and bank accounts credentials. If the certificate # already exists in the Key Vault, then a new version of the certificate is created. diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py index 963d5480b9f9..76a272d816a9 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py @@ -18,10 +18,10 @@ class VaultClient(KeyVaultClientBase): - def __init__(self, vault_url, credential, transport=None, api_version=None, **kwargs): + def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None - super(VaultClient, self).__init__(vault_url, credential, transport=transport, api_version=api_version, **kwargs) - self._certificates = CertificateClient(self.vault_url, credential, generated_client=self._client, **kwargs) + super(VaultClient, self).__init__(vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs) + self._certificates = CertificateClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property def certificates(self): diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py index 9cc12bcccee5..a9539423ddfd 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py @@ -21,14 +21,14 @@ class VaultClient(AsyncKeyVaultClientBase): def __init__( self, - vault_url: str, + vault_endpoint: str, credential: "TokenCredential", transport: HttpTransport = None, api_version: str = None, **kwargs: Any ) -> None: - super(VaultClient, self).__init__(vault_url, credential, transport=transport, api_version=api_version, **kwargs) - self._certificates = CertificateClient(self.vault_url, credential, generated_client=self._client, **kwargs) + super(VaultClient, self).__init__(vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs) + self._certificates = CertificateClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property def certificates(self): diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py index b87beaae5858..6e5666497096 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py @@ -79,7 +79,7 @@ def _validate_certificate_operation(self, pending_cert_operation, vault, cert_na self.assertIsNotNone(pending_cert_operation.csr) self.assertEqual(cert_policy.issuer_parameters.name, pending_cert_operation.issuer_name) pending_id = parse_vault_id(pending_cert_operation.id) - self.assertEqual(pending_id.vault_url.strip("/"), vault.strip("/")) + self.assertEqual(pending_id.vault_endpoint.strip("/"), vault.strip("/")) self.assertEqual(pending_id.name, cert_name) def _validate_certificate_bundle(self, cert, cert_name, cert_policy): @@ -201,7 +201,7 @@ def _validate_certificate_issuer_properties(self, issuer, expected): self.assertEqual(issuer.id, expected.id) self.assertEqual(issuer.name, expected.name) self.assertEqual(issuer.provider, expected.provider) - self.assertEqual(issuer.vault_url, expected.vault_url) + self.assertEqual(issuer.vault_endpoint, expected.vault_endpoint) @ResourceGroupPreparer() @VaultClientPreparer() @@ -277,7 +277,7 @@ def test_list(self, vault_client, **kwargs): try: cert_bundle = self._import_common_certificate(client=client, cert_name=cert_name)[0] parsed_id = parse_vault_id(url=cert_bundle.id) - cid = parsed_id.vault_url + "/" + parsed_id.collection + "/" + parsed_id.name + cid = parsed_id.vault_endpoint + "/" + parsed_id.collection + "/" + parsed_id.name expected[cid.strip("/")] = cert_bundle except Exception as ex: if hasattr(ex, "message") and "Throttled" in ex.message: @@ -307,7 +307,7 @@ def test_list_certificate_versions(self, vault_client, **kwargs): try: cert_bundle = self._import_common_certificate(client=client, cert_name=cert_name)[0] parsed_id = parse_vault_id(url=cert_bundle.id) - cid = parsed_id.vault_url + "/" + parsed_id.collection + "/" + parsed_id.name + "/" + parsed_id.version + cid = parsed_id.vault_endpoint + "/" + parsed_id.collection + "/" + parsed_id.name + "/" + parsed_id.version expected[cid.strip("/")] = cert_bundle except Exception as ex: if hasattr(ex, "message") and "Throttled" in ex.message: @@ -428,7 +428,7 @@ def test_async_request_cancellation_and_deletion(self, vault_client, **kwargs): self.assertTrue(cancel_operation.cancellation_requested) self._validate_certificate_operation( pending_cert_operation=cancel_operation, - vault=client.vault_url, + vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy, ) @@ -440,7 +440,7 @@ def test_async_request_cancellation_and_deletion(self, vault_client, **kwargs): self.assertTrue(retrieved_operation.cancellation_requested) self._validate_certificate_operation( pending_cert_operation=retrieved_operation, - vault=client.vault_url, + vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy, ) @@ -450,7 +450,7 @@ def test_async_request_cancellation_and_deletion(self, vault_client, **kwargs): self.assertIsNotNone(deleted_operation) self._validate_certificate_operation( pending_cert_operation=deleted_operation, - vault=client.vault_url, + vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy, ) @@ -617,7 +617,7 @@ def test_crud_issuer(self, vault_client, **kwargs): ] properties = IssuerProperties( - issuer_id=client.vault_url + "/certificates/issuers/" + issuer_name, provider="Test" + issuer_id=client.vault_endpoint + "/certificates/issuers/" + issuer_name, provider="Test" ) # create certificate issuer @@ -649,11 +649,11 @@ def test_crud_issuer(self, vault_client, **kwargs): ) expected_base_1 = IssuerProperties( - issuer_id=client.vault_url + "/certificates/issuers/" + issuer_name, provider="Test" + issuer_id=client.vault_endpoint + "/certificates/issuers/" + issuer_name, provider="Test" ) expected_base_2 = IssuerProperties( - issuer_id=client.vault_url + "/certificates/issuers/" + issuer_name + "2", provider="Test" + issuer_id=client.vault_endpoint + "/certificates/issuers/" + issuer_name + "2", provider="Test" ) expected_issuers = [expected_base_1, expected_base_2] diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py index 3597b936b7c3..20ab419ac6f0 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py @@ -73,7 +73,7 @@ def _validate_certificate_operation(self, pending_cert_operation, vault, cert_na self.assertIsNotNone(pending_cert_operation.csr) self.assertEqual(cert_policy.issuer_parameters.name, pending_cert_operation.issuer_name) pending_id = parse_vault_id(pending_cert_operation.id) - self.assertEqual(pending_id.vault_url.strip("/"), vault.strip("/")) + self.assertEqual(pending_id.vault_endpoint.strip("/"), vault.strip("/")) self.assertEqual(pending_id.name, cert_name) def _validate_certificate_bundle(self, cert, vault, cert_name, cert_policy): @@ -187,7 +187,7 @@ def _validate_certificate_issuer_properties(self, issuer, expected): self.assertEqual(issuer.id, expected.id) self.assertEqual(issuer.name, expected.name) self.assertEqual(issuer.provider, expected.provider) - self.assertEqual(issuer.vault_url, expected.vault_url) + self.assertEqual(issuer.vault_endpoint, expected.vault_endpoint) @ResourceGroupPreparer() @AsyncVaultClientPreparer() @@ -223,7 +223,7 @@ async def test_crud_operations(self, vault_client, **kwargs): cert = await create_certificate_poller self._validate_certificate_bundle( - cert=cert, vault=client.vault_url, cert_name=cert_name, cert_policy=cert_policy + cert=cert, vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy ) self.assertEqual((await client.get_certificate_operation(name=cert_name)).status.lower(), "completed") @@ -231,14 +231,14 @@ async def test_crud_operations(self, vault_client, **kwargs): # get certificate cert = await client.get_certificate_with_policy(name=cert_name) self._validate_certificate_bundle( - cert=cert, vault=client.vault_url, cert_name=cert_name, cert_policy=cert_policy + cert=cert, vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy ) # update certificate tags = {"tag1": "updated_value1"} cert_bundle = await client.update_certificate_properties(name=cert_name, tags=tags) self._validate_certificate_bundle( - cert=cert_bundle, vault=client.vault_url, cert_name=cert_name, cert_policy=cert_policy + cert=cert_bundle, vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy ) self.assertEqual(tags, cert_bundle.properties.tags) self.assertEqual(cert.id, cert_bundle.id) @@ -247,7 +247,7 @@ async def test_crud_operations(self, vault_client, **kwargs): # delete certificate deleted_cert_bundle = await client.delete_certificate(name=cert_name) self._validate_certificate_bundle( - cert=deleted_cert_bundle, vault=client.vault_url, cert_name=cert_name, cert_policy=cert_policy + cert=deleted_cert_bundle, vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy ) # get certificate returns not found @@ -275,7 +275,7 @@ async def test_list(self, vault_client, **kwargs): try: cert_bundle = (await self._import_common_certificate(client=client, cert_name=cert_name))[0] parsed_id = parse_vault_id(url=cert_bundle.id) - cid = parsed_id.vault_url + "/" + parsed_id.collection + "/" + parsed_id.name + cid = parsed_id.vault_endpoint + "/" + parsed_id.collection + "/" + parsed_id.name expected[cid.strip("/")] = cert_bundle except Exception as ex: if hasattr(ex, "message") and "Throttled" in ex.message: @@ -306,7 +306,7 @@ async def test_list_certificate_versions(self, vault_client, **kwargs): try: cert_bundle = (await self._import_common_certificate(client=client, cert_name=cert_name))[0] parsed_id = parse_vault_id(url=cert_bundle.id) - cid = parsed_id.vault_url + "/" + parsed_id.collection + "/" + parsed_id.name + "/" + parsed_id.version + cid = parsed_id.vault_endpoint + "/" + parsed_id.collection + "/" + parsed_id.name + "/" + parsed_id.version expected[cid.strip("/")] = cert_bundle except Exception as ex: if hasattr(ex, "message") and "Throttled" in ex.message: @@ -440,7 +440,7 @@ async def test_async_request_cancellation_and_deletion(self, vault_client, **kwa self.assertTrue(cancel_operation.cancellation_requested) self._validate_certificate_operation( pending_cert_operation=cancel_operation, - vault=client.vault_url, + vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy, ) @@ -452,7 +452,7 @@ async def test_async_request_cancellation_and_deletion(self, vault_client, **kwa self.assertTrue(retrieved_operation.cancellation_requested) self._validate_certificate_operation( pending_cert_operation=retrieved_operation, - vault=client.vault_url, + vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy, ) @@ -462,7 +462,7 @@ async def test_async_request_cancellation_and_deletion(self, vault_client, **kwa self.assertIsNotNone(deleted_operation) self._validate_certificate_operation( pending_cert_operation=deleted_operation, - vault=client.vault_url, + vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy, ) @@ -576,7 +576,7 @@ async def test_backup_restore(self, vault_client, **kwargs): # restore certificate restored_certificate = await client.restore_certificate(backup=certificate_backup) self._validate_certificate_bundle( - cert=restored_certificate, vault=client.vault_url, cert_name=cert_name, cert_policy=cert_policy + cert=restored_certificate, vault=client.vault_endpoint, cert_name=cert_name, cert_policy=cert_policy ) @ResourceGroupPreparer() @@ -650,7 +650,7 @@ async def test_crud_issuer(self, vault_client, **kwargs): ) properties = IssuerProperties( - issuer_id=client.vault_url + "/certificates/issuers/" + issuer_name, provider="Test" + issuer_id=client.vault_endpoint + "/certificates/issuers/" + issuer_name, provider="Test" ) expected = Issuer( @@ -677,11 +677,11 @@ async def test_crud_issuer(self, vault_client, **kwargs): ) expected_base_1 = IssuerProperties( - issuer_id=client.vault_url + "/certificates/issuers/" + issuer_name, provider="Test" + issuer_id=client.vault_endpoint + "/certificates/issuers/" + issuer_name, provider="Test" ) expected_base_2 = IssuerProperties( - issuer_id=client.vault_url + "/certificates/issuers/" + issuer_name + "2", provider="Test" + issuer_id=client.vault_endpoint + "/certificates/issuers/" + issuer_name + "2", provider="Test" ) expected_issuers = [expected_base_1, expected_base_2] diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates.py index 2e6aa4dbddce..d691524a5973 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates.py @@ -15,7 +15,7 @@ def print(*args): def test_create_certificate_client(): - vault_url = "vault_url" + vault_endpoint = "vault_endpoint" # pylint:disable=unused-variable # [START create_certificate_client] @@ -24,7 +24,7 @@ def test_create_certificate_client(): # Create a CertificateClient using default Azure credentials credential = DefaultAzureCredential() - certificate_client = CertificateClient(vault_url, credential) + certificate_client = CertificateClient(vault_endpoint, credential) # [END create_certificate_client] diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates_async.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates_async.py index e5137a19cfb3..1f824a0854b1 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_examples_certificates_async.py @@ -12,7 +12,7 @@ def print(*args): def test_create_certificate(): - vault_url = "vault_url" + vault_endpoint = "vault_endpoint" # pylint:disable=unused-variable # [START create_certificate_client] @@ -21,7 +21,7 @@ def test_create_certificate(): # Create a Certificate using default Azure credentials credential = DefaultAzureCredential() - certificate_client = CertificateClient(vault_url, credential) + certificate_client = CertificateClient(vault_endpoint, credential) # [END create_certificate_client] diff --git a/sdk/keyvault/azure-keyvault-keys/README.md b/sdk/keyvault/azure-keyvault-keys/README.md index 6e829d66f397..5ad531ba7be1 100644 --- a/sdk/keyvault/azure-keyvault-keys/README.md +++ b/sdk/keyvault/azure-keyvault-keys/README.md @@ -61,7 +61,7 @@ names): } ``` - > The `"vaultUri"` property is the `vault_url` used by `KeyClient`. + > The `"vaultUri"` property is the `vault_endpoint` used by `KeyClient`. ### Authenticate the client To interact with a Key Vault's keys, you'll need an instance of the @@ -120,7 +120,7 @@ from azure.keyvault.keys import KeyClient credential = DefaultAzureCredential() -key_client = KeyClient(vault_url=, credential=credential) +key_client = KeyClient(vault_endpoint=, credential=credential) ``` ## Key concepts @@ -217,7 +217,7 @@ from azure.keyvault.keys import KeyClient from azure.keyvault.keys.crypto import EncryptionAlgorithm credential = DefaultAzureCredential() -key_client = KeyClient(vault_url=vault_url, credential=credential) +key_client = KeyClient(vault_endpoint=vault_endpoint, credential=credential) key = key_client.get_key("mykey") crypto_client = key_client.get_cryptography_client(key) @@ -246,7 +246,7 @@ from azure.identity.aio import DefaultAzureCredential from azure.keyvault.keys.aio import KeyClient credential = DefaultAzureCredential() -key_client = KeyClient(vault_url=vault_url, credential=credential) +key_client = KeyClient(vault_endpoint=vault_endpoint, credential=credential) # Create an RSA key rsa_key = await key_client.create_rsa_key("rsa-key-name", hsm=False, size=2048) @@ -309,7 +309,7 @@ file_handler = logging.FileHandler(filename) logger.addHandler(file_handler) # Enable network trace logging. Each HTTP request will be logged at DEBUG level. -client = KeyClient(vault_url=url, credential=credential, logging_enable=True) +client = KeyClient(vault_endpoint=url, credential=credential, logging_enable=True) ``` Network trace logging can also be enabled for any single operation: diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/__init__.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/__init__.py index a8fd2a41d71f..6cbd019761da 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/__init__.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/__init__.py @@ -23,7 +23,7 @@ "KeyVaultClientBase", ] -_VaultId = namedtuple("VaultId", ["vault_url", "collection", "name", "version"]) +_VaultId = namedtuple("VaultId", ["vault_endpoint", "collection", "name", "version"]) def parse_vault_id(url): @@ -40,7 +40,7 @@ def parse_vault_id(url): raise ValueError("'{}' is not not a valid vault url".format(url)) return _VaultId( - vault_url="{}://{}".format(parsed_uri.scheme, parsed_uri.hostname), + vault_endpoint="{}://{}".format(parsed_uri.scheme, parsed_uri.hostname), collection=path[0], name=path[1], version=path[2] if len(path) == 3 else None, diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py index b6081db0d09e..d0e26fb615b4 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py @@ -61,7 +61,7 @@ def _create_config( def __init__( self, - vault_url: str, + vault_endpoint: str, credential: "TokenCredential", transport: AsyncHttpTransport = None, api_version: str = None, @@ -72,10 +72,10 @@ def __init__( "credential should be an object supporting the TokenCredential protocol, " "such as a credential from azure-identity" ) - if not vault_url: - raise ValueError("vault_url must be the URL of an Azure Key Vault") + if not vault_endpoint: + raise ValueError("vault_endpoint must be the URL of an Azure Key Vault") - self._vault_url = vault_url.strip(" /") + self._vault_endpoint = vault_endpoint.strip(" /") client = kwargs.pop("generated_client", None) if client: @@ -111,5 +111,5 @@ def _build_pipeline(config: Configuration, transport: AsyncHttpTransport, **kwar return AsyncPipeline(transport, policies=policies) @property - def vault_url(self) -> str: - return self._vault_url + def vault_endpoint(self) -> str: + return self._vault_endpoint diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py index 54f033e55d28..7b30e1886860 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py @@ -56,17 +56,17 @@ def _create_config(credential, api_version=None, **kwargs): return config - def __init__(self, vault_url, credential, transport=None, api_version=None, **kwargs): + def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None if not credential: raise ValueError( "credential should be an object supporting the TokenCredential protocol, " "such as a credential from azure-identity" ) - if not vault_url: - raise ValueError("vault_url must be the URL of an Azure Key Vault") + if not vault_endpoint: + raise ValueError("vault_endpoint must be the URL of an Azure Key Vault") - self._vault_url = vault_url.strip(" /") + self._vault_endpoint = vault_endpoint.strip(" /") client = kwargs.pop("generated_client", None) if client: @@ -101,6 +101,6 @@ def _build_pipeline(self, config, transport, **kwargs): return Pipeline(transport, policies=policies) @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str - return self._vault_url + return self._vault_endpoint diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py index b7a146027c11..5fdd02ad1f2e 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py @@ -17,7 +17,7 @@ class KeyClient(AsyncKeyVaultClientBase): """A high-level asynchronous interface for managing a vault's keys. - :param str vault_url: URL of the vault the client will access + :param str vault_endpoint: URL of the vault the client will access :param credential: An object which can provide an access token for the vault, such as a credential from :mod:`azure.identity.aio` @@ -97,7 +97,7 @@ async def create_key( attributes = None bundle = await self._client.create_key( - self.vault_url, + self.vault_endpoint, name, key_type, size, @@ -231,7 +231,7 @@ async def delete_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Delete a key :dedent: 8 """ - bundle = await self._client.delete_key(self.vault_url, name, error_map=error_map, **kwargs) + bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace_async @@ -257,7 +257,7 @@ async def get_key(self, name: str, version: Optional[str] = None, **kwargs: "**A if version is None: version = "" - bundle = await self._client.get_key(self.vault_url, name, version, error_map=error_map, **kwargs) + bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace_async @@ -280,7 +280,7 @@ async def get_deleted_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Get a deleted key :dedent: 8 """ - bundle = await self._client.get_deleted_key(self.vault_url, name, error_map=error_map, **kwargs) + bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -301,7 +301,7 @@ def list_deleted_keys(self, **kwargs: "**Any") -> AsyncIterable[DeletedKey]: """ max_results = kwargs.get("max_page_size") return self._client.get_deleted_keys( - self.vault_url, + self.vault_endpoint, maxresults=max_results, cls=lambda objs: [DeletedKey._from_deleted_key_item(x) for x in objs], **kwargs, @@ -324,7 +324,7 @@ def list_keys(self, **kwargs: "**Any") -> AsyncIterable[KeyProperties]: """ max_results = kwargs.get("max_page_size") return self._client.get_keys( - self.vault_url, + self.vault_endpoint, maxresults=max_results, cls=lambda objs: [KeyProperties._from_key_item(x) for x in objs], **kwargs @@ -348,7 +348,7 @@ def list_key_versions(self, name: str, **kwargs: "**Any") -> AsyncIterable[KeyPr """ max_results = kwargs.get("max_page_size") return self._client.get_key_versions( - self.vault_url, + self.vault_endpoint, name, maxresults=max_results, cls=lambda objs: [KeyProperties._from_key_item(x) for x in objs], @@ -374,7 +374,7 @@ async def purge_deleted_key(self, name: str, **kwargs: "**Any") -> None: await key_client.purge_deleted_key("key-name") """ - await self._client.purge_deleted_key(self.vault_url, name, **kwargs) + await self._client.purge_deleted_key(self.vault_endpoint, name, **kwargs) @distributed_trace_async async def recover_deleted_key(self, name: str, **kwargs: "**Any") -> Key: @@ -397,7 +397,7 @@ async def recover_deleted_key(self, name: str, **kwargs: "**Any") -> Key: :caption: Recover a deleted key :dedent: 8 """ - bundle = await self._client.recover_deleted_key(self.vault_url, name, **kwargs) + bundle = await self._client.recover_deleted_key(self.vault_endpoint, name, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace_async @@ -443,7 +443,7 @@ async def update_key_properties( attributes = None bundle = await self._client.update_key( - self.vault_url, + self.vault_endpoint, name, key_version=version or "", key_ops=key_operations, @@ -477,7 +477,7 @@ async def backup_key(self, name: str, **kwargs: "**Any") -> bytes: :caption: Get a key backup :dedent: 8 """ - backup_result = await self._client.backup_key(self.vault_url, name, error_map=error_map, **kwargs) + backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) return backup_result.value @distributed_trace_async @@ -503,7 +503,7 @@ async def restore_key(self, backup: bytes, **kwargs: "**Any") -> Key: :caption: Restore a key backup :dedent: 8 """ - bundle = await self._client.restore_key(self.vault_url, backup, error_map=error_map, **kwargs) + bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace_async @@ -539,6 +539,6 @@ async def import_key( else: attributes = None bundle = await self._client.import_key( - self.vault_url, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs + self.vault_endpoint, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs ) return Key._from_key_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py index c14f9b1b5d2f..b69d814e18ef 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py @@ -25,7 +25,7 @@ class KeyClient(KeyVaultClientBase): """A high-level interface for managing a vault's keys. - :param str vault_url: URL of the vault the client will access + :param str vault_endpoint: URL of the vault the client will access :param credential: An object which can provide an access token for the vault, such as a credential from :mod:`azure.identity` @@ -107,7 +107,7 @@ def create_key( attributes = None bundle = self._client.create_key( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, key_name=name, kty=key_type, key_size=size, @@ -245,7 +245,7 @@ def delete_key(self, name, **kwargs): :caption: Delete a key :dedent: 8 """ - bundle = self._client.delete_key(self.vault_url, name, error_map=error_map, **kwargs) + bundle = self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -269,7 +269,7 @@ def get_key(self, name, version=None, **kwargs): :caption: Get a key :dedent: 8 """ - bundle = self._client.get_key(self.vault_url, name, key_version=version or "", error_map=error_map, **kwargs) + bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace @@ -294,7 +294,7 @@ def get_deleted_key(self, name, **kwargs): :dedent: 8 """ # TODO: which exception is raised when soft-delete is not enabled - bundle = self._client.get_deleted_key(self.vault_url, name, error_map=error_map, **kwargs) + bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -316,7 +316,7 @@ def list_deleted_keys(self, **kwargs): """ max_page_size = kwargs.get("max_page_size", None) return self._client.get_deleted_keys( - self._vault_url, + self._vault_endpoint, maxresults=max_page_size, cls=lambda objs: [DeletedKey._from_deleted_key_item(x) for x in objs], **kwargs @@ -340,7 +340,7 @@ def list_keys(self, **kwargs): """ max_page_size = kwargs.get("max_page_size", None) return self._client.get_keys( - self._vault_url, + self._vault_endpoint, maxresults=max_page_size, cls=lambda objs: [KeyProperties._from_key_item(x) for x in objs], **kwargs @@ -365,7 +365,7 @@ def list_key_versions(self, name, **kwargs): """ max_page_size = kwargs.get("max_page_size", None) return self._client.get_key_versions( - self._vault_url, + self._vault_endpoint, name, maxresults=max_page_size, cls=lambda objs: [KeyProperties._from_key_item(x) for x in objs], @@ -392,7 +392,7 @@ def purge_deleted_key(self, name, **kwargs): key_client.purge_deleted_key("key-name") """ - self._client.purge_deleted_key(vault_base_url=self.vault_url, key_name=name, **kwargs) + self._client.purge_deleted_key(vault_base_url=self.vault_endpoint, key_name=name, **kwargs) @distributed_trace def recover_deleted_key(self, name, **kwargs): @@ -416,7 +416,7 @@ def recover_deleted_key(self, name, **kwargs): :caption: Recover a deleted key :dedent: 8 """ - bundle = self._client.recover_deleted_key(vault_base_url=self.vault_url, key_name=name, **kwargs) + bundle = self._client.recover_deleted_key(vault_base_url=self.vault_endpoint, key_name=name, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace @@ -462,7 +462,7 @@ def update_key_properties( else: attributes = None bundle = self._client.update_key( - self.vault_url, + self.vault_endpoint, name, key_version=version or "", key_ops=key_operations, @@ -497,7 +497,7 @@ def backup_key(self, name, **kwargs): :caption: Get a key backup :dedent: 8 """ - backup_result = self._client.backup_key(self.vault_url, name, error_map=error_map, **kwargs) + backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) return backup_result.value @distributed_trace @@ -524,7 +524,7 @@ def restore_key(self, backup, **kwargs): :caption: Restore a key backup :dedent: 8 """ - bundle = self._client.restore_key(self.vault_url, backup, error_map=error_map, **kwargs) + bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace @@ -561,6 +561,6 @@ def import_key( else: attributes = None bundle = self._client.import_key( - self.vault_url, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs + self.vault_endpoint, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs ) return Key._from_key_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py index 3b6d1ee4013f..6f68634b6628 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py @@ -63,7 +63,7 @@ class CryptographyClient(AsyncKeyVaultClientBase): from azure.keyvault.keys.aio import KeyClient credential = DefaultAzureCredential() - key_client = KeyClient(vault_url=, credential=credential) + key_client = KeyClient(vault_endpoint=, credential=credential) crypto_client = key_client.get_cryptography_client("mykey") """ @@ -88,7 +88,7 @@ def __init__(self, key: "Union[Key, str]", credential: "TokenCredential", **kwar self._internal_key = None # type: Optional[_Key] - super(CryptographyClient, self).__init__(vault_url=self._key_id.vault_url, credential=credential, **kwargs) + super(CryptographyClient, self).__init__(vault_endpoint=self._key_id.vault_endpoint, credential=credential, **kwargs) @property def key_id(self) -> str: @@ -111,7 +111,7 @@ async def get_key(self, **kwargs: "Any") -> "Optional[Key]": if not (self._key or self._keys_get_forbidden): try: self._key = await self._client.get_key( - self._key_id.vault_url, self._key_id.name, self._key_id.version, **kwargs + self._key_id.vault_endpoint, self._key_id.name, self._key_id.version, **kwargs ) self._allowed_ops = frozenset(self._key.key_material.key_ops) except HttpResponseError as ex: @@ -168,7 +168,7 @@ async def encrypt(self, algorithm: "EncryptionAlgorithm", plaintext: bytes, **kw result = local_key.encrypt(plaintext, algorithm=algorithm.value) else: result = await self._client.encrypt( - self._key_id.vault_url, self._key_id.name, self._key_id.version, algorithm, plaintext, **kwargs + self._key_id.vault_endpoint, self._key_id.name, self._key_id.version, algorithm, plaintext, **kwargs ).result return EncryptResult(key_id=self.key_id, algorithm=algorithm, ciphertext=result, authentication_tag=None) @@ -201,7 +201,7 @@ async def decrypt(self, algorithm: "EncryptionAlgorithm", ciphertext: bytes, **k raise ValueError("'authentication_tag' is required when 'authentication_data' is specified") result = await self._client.decrypt( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, @@ -238,7 +238,7 @@ async def wrap_key(self, algorithm: "KeyWrapAlgorithm", key: bytes, **kwargs: "A result = local_key.wrap_key(key, algorithm=algorithm.value) else: result = await self._client.wrap_key( - self._key_id.vault_url, + self._key_id.vault_endpoint, self._key_id.name, self._key_id.version, algorithm=algorithm, @@ -269,7 +269,7 @@ async def unwrap_key(self, algorithm: "KeyWrapAlgorithm", encrypted_key: bytes, """ result = await self._client.unwrap_key( - self._key_id.vault_url, + self._key_id.vault_endpoint, self._key_id.name, self._key_id.version, algorithm=algorithm, @@ -303,7 +303,7 @@ async def sign(self, algorithm: "SignatureAlgorithm", digest: bytes, **kwargs: " """ result = await self._client.sign( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, @@ -343,7 +343,7 @@ async def verify( result = local_key.verify(digest, signature, algorithm=algorithm.value) else: result = await self._client.verify( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py index 1abcef82fb8f..17b772404f40 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py @@ -64,7 +64,7 @@ class CryptographyClient(KeyVaultClientBase): from azure.keyvault.keys import KeyClient credential = DefaultAzureCredential() - key_client = KeyClient(vault_url=, credential=credential) + key_client = KeyClient(vault_endpoint=, credential=credential) crypto_client = key_client.get_cryptography_client("mykey") """ @@ -91,7 +91,7 @@ def __init__(self, key, credential, **kwargs): self._internal_key = None # type: Optional[_Key] - super(CryptographyClient, self).__init__(vault_url=self._key_id.vault_url, credential=credential, **kwargs) + super(CryptographyClient, self).__init__(vault_endpoint=self._key_id.vault_endpoint, credential=credential, **kwargs) @property def key_id(self): @@ -116,7 +116,7 @@ def get_key(self, **kwargs): if not (self._key or self._keys_get_forbidden): try: self._key = self._client.get_key( - self._key_id.vault_url, self._key_id.name, self._key_id.version, **kwargs + self._key_id.vault_endpoint, self._key_id.name, self._key_id.version, **kwargs ) self._allowed_ops = frozenset(self._key.key_material.key_ops) except HttpResponseError as ex: @@ -175,7 +175,7 @@ def encrypt(self, algorithm, plaintext, **kwargs): result = local_key.encrypt(plaintext, algorithm=algorithm.value) else: result = self._client.encrypt( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, @@ -214,7 +214,7 @@ def decrypt(self, algorithm, ciphertext, **kwargs): raise ValueError("'authentication_tag' is required when 'authentication_data' is specified") result = self._client.decrypt( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, @@ -252,7 +252,7 @@ def wrap_key(self, algorithm, key, **kwargs): result = local_key.wrap_key(key, algorithm=algorithm.value) else: result = self._client.wrap_key( - self._key_id.vault_url, + self._key_id.vault_endpoint, self._key_id.name, self._key_id.version, algorithm=algorithm, @@ -285,7 +285,7 @@ def unwrap_key(self, algorithm, encrypted_key, **kwargs): """ result = self._client.unwrap_key( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, @@ -320,7 +320,7 @@ def sign(self, algorithm, digest, **kwargs): """ result = self._client.sign( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, @@ -360,7 +360,7 @@ def verify(self, algorithm, digest, signature, **kwargs): result = local_key.verify(digest, signature, algorithm=algorithm.value) else: result = self._client.verify( - vault_base_url=self._key_id.vault_url, + vault_base_url=self._key_id.vault_endpoint, key_name=self._key_id.name, key_version=self._key_id.version, algorithm=algorithm, diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/models.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/models.py index aae0479bee3f..08c35138cc27 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/models.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/models.py @@ -148,14 +148,14 @@ def updated(self): return self._attributes.updated @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str """ URL of the vault containing the key :rtype: str """ - return self._vault_id.vault_url + return self._vault_id.vault_endpoint @property def recovery_level(self): diff --git a/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations.py b/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations.py index 91e432a8927d..96085a1dfad6 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations.py @@ -13,7 +13,7 @@ # # 2. azure-keyvault-keys and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -32,9 +32,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = KeyClient(vault_url=VAULT_URL, credential=credential) +client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a Key of type RSA. # if the key already exists in the Key Vault, then a new version of the key is created. diff --git a/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations_async.py b/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations_async.py index 532f01a03585..690899a716d1 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations_async.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/backup_restore_operations_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-keys and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -33,9 +33,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = KeyClient(vault_url=VAULT_URL, credential=credential) + client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a Key of type RSA. # if the key already exists in the Key Vault, then a new version of the key is created. diff --git a/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py b/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py index cf6fb5e907d1..50dc72743cee 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-keys and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = KeyClient(vault_url=VAULT_URL, credential=credential) +client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create an RSA key with size 2048, hsm disabled and optional key_operations of encrypt, decrypt. # if the key already exists in the Key Vault, then a new version of the key is created. diff --git a/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py b/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py index e86c0bbc0dd2..a7d66e76240b 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py @@ -15,7 +15,7 @@ # # 2. azure-keyvault-keys and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -36,9 +36,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = KeyClient(vault_url=VAULT_URL, credential=credential) + client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create an RSA key with size 2048, hsm disabled and optional key_operations of encrypt, decrypt. # if the key already exists in the Key Vault, then a new version of the key is created. diff --git a/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py b/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py index 1817c586aac4..64b49365e898 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py @@ -15,7 +15,7 @@ # 2. Microsoft Azure Key Vault PyPI package - # https://pypi.python.org/pypi/azure-keyvault-keys/ # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -38,9 +38,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = KeyClient(vault_url=VAULT_URL, credential=credential) +client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create keys with RSA and EC type. If the key # already exists in the Key Vault, then a new version of the key is created. diff --git a/sdk/keyvault/azure-keyvault-keys/samples/list_operations_async.py b/sdk/keyvault/azure-keyvault-keys/samples/list_operations_async.py index 13a76bb8b1e1..f2b5a8f6fb1f 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/list_operations_async.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/list_operations_async.py @@ -15,7 +15,7 @@ # 2. Microsoft Azure Key Vault PyPI package - # https://pypi.python.org/pypi/azure-keyvault-keys/ # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -37,9 +37,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = KeyClient(vault_url=VAULT_URL, credential=credential) + client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create keys with RSA and EC type. If the key # already exists in the Key Vault, then a new version of the key is created. diff --git a/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations.py b/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations.py index eae741d31133..5e37e11fd6ab 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations.py @@ -15,7 +15,7 @@ # 2. Microsoft Azure Key Vault PyPI package - # https://pypi.python.org/pypi/azure-keyvault-keys/ # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = KeyClient(vault_url=VAULT_URL, credential=credential) +client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: print("\n.. Create keys") rsa_key = client.create_rsa_key("rsaKeyName", hsm=False) diff --git a/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations_async.py b/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations_async.py index 0f16ccfab5a0..9b5db58b5fd6 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations_async.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/recover_purge_operations_async.py @@ -15,7 +15,7 @@ # 2. Microsoft Azure Key Vault PyPI package - # https://pypi.python.org/pypi/azure-keyvault-keys/ # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -36,9 +36,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = KeyClient(vault_url=VAULT_URL, credential=credential) + client = KeyClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: print("\n.. Create keys") rsa_key = await client.create_rsa_key("rsaKeyName", hsm=False) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client.py b/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client.py index 3261d31c1548..b2862e859309 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client.py @@ -19,12 +19,12 @@ class VaultClient(KeyVaultClientBase): - def __init__(self, vault_url, credential, transport=None, api_version=None, **kwargs): + def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None super(VaultClient, self).__init__( - vault_url, credential, transport=transport, api_version=api_version, **kwargs + vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs ) - self._keys = KeyClient(self.vault_url, credential, generated_client=self._client, **kwargs) + self._keys = KeyClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property def keys(self): diff --git a/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client_async.py index a09d581eb39a..c17bfe243709 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/keys_vault_client_async.py @@ -25,16 +25,16 @@ class VaultClient(AsyncKeyVaultClientBase): def __init__( self, - vault_url: str, + vault_endpoint: str, credential: "TokenCredential", transport: HttpTransport = None, api_version: str = None, **kwargs: Any ) -> None: super(VaultClient, self).__init__( - vault_url, credential, transport=transport, api_version=api_version, **kwargs + vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs ) - self._keys = KeyClient(self.vault_url, credential, generated_client=self._client, **kwargs) + self._keys = KeyClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property def keys(self): diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index 0dd6d7f620c7..5e5cc2dfff4f 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -62,7 +62,7 @@ def _to_bytes(hex): ), ) imported_key = client.import_key(name, key) - self._validate_rsa_key_bundle(imported_key, client.vault_url, name, key.kty, key.key_ops) + self._validate_rsa_key_bundle(imported_key, client.vault_endpoint, name, key.kty, key.key_ops) return imported_key @ResourceGroupPreparer() diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py index 75364e333de5..a6e9a327bf69 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py @@ -64,7 +64,7 @@ def _to_bytes(hex): ), ) imported_key = await client.import_key(name, key) - self._validate_rsa_key_bundle(imported_key, client.vault_url, name, key.kty, key.key_ops) + self._validate_rsa_key_bundle(imported_key, client.vault_endpoint, name, key.kty, key.key_ops) return imported_key @ResourceGroupPreparer() diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index 0f1b3e8a13c2..536c32858d54 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -17,7 +17,7 @@ class KeyClientTests(KeyVaultTestCase): def _assert_key_attributes_equal(self, k1, k2): self.assertEqual(k1.name, k2.name) - self.assertEqual(k1.vault_url, k2.vault_url) + self.assertEqual(k1.vault_endpoint, k2.vault_endpoint) self.assertEqual(k1.enabled, k2.enabled) self.assertEqual(k1.not_before, k2.not_before) self.assertEqual(k1.expires, k2.expires) @@ -35,7 +35,7 @@ def _create_rsa_key(self, client, key_name, hsm): self.assertTrue(created_key.properties.tags, "Missing the optional key attributes.") self.assertEqual(tags, created_key.properties.tags) kty = "RSA-HSM" if hsm else "RSA" - self._validate_rsa_key_bundle(created_key, client.vault_url, key_name, kty, key_ops) + self._validate_rsa_key_bundle(created_key, client.vault_endpoint, key_name, kty, key_ops) return created_key def _create_ec_key(self, client, key_name, hsm): @@ -47,7 +47,7 @@ def _create_ec_key(self, client, key_name, hsm): self.assertTrue(created_key.properties.enabled, "Missing the optional key attributes.") self.assertEqual(enabled, created_key.properties.enabled) self.assertEqual(tags, created_key.properties.tags) - self._validate_ec_key_bundle(created_key, client.vault_url, key_name, key_type) + self._validate_ec_key_bundle(created_key, client.vault_endpoint, key_name, key_type) return created_key def _validate_ec_key_bundle(self, key_attributes, vault, key_name, kty): @@ -114,7 +114,7 @@ def _to_bytes(hex): ), ) imported_key = client.import_key(name, key) - self._validate_rsa_key_bundle(imported_key, client.vault_url, name, key.kty, key.key_ops) + self._validate_rsa_key_bundle(imported_key, client.vault_endpoint, name, key.kty, key.key_ops) return imported_key @ResourceGroupPreparer() diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index cdfcd3b7e3ae..23113f142ea9 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -19,7 +19,7 @@ class KeyVaultKeyTest(AsyncKeyVaultTestCase): def _assert_key_attributes_equal(self, k1, k2): self.assertEqual(k1.name, k2.name) - self.assertEqual(k1.vault_url, k2.vault_url) + self.assertEqual(k1.vault_endpoint, k2.vault_endpoint) self.assertEqual(k1.enabled, k2.enabled) self.assertEqual(k1.not_before, k2.not_before) self.assertEqual(k1.expires, k2.expires) @@ -37,7 +37,7 @@ async def _create_rsa_key(self, client, key_name, hsm): self.assertTrue(created_key.properties.tags, "Missing the optional key attributes.") self.assertEqual(tags, created_key.properties.tags) key_type = "RSA-HSM" if hsm else "RSA" - self._validate_rsa_key_bundle(created_key, client.vault_url, key_name, key_type, key_ops) + self._validate_rsa_key_bundle(created_key, client.vault_endpoint, key_name, key_type, key_ops) return created_key async def _create_ec_key(self, client, key_name, hsm): @@ -49,7 +49,7 @@ async def _create_ec_key(self, client, key_name, hsm): self.assertEqual(enabled, created_key.properties.enabled) self.assertEqual(tags, created_key.properties.tags) key_type = "EC-HSM" if hsm else "EC" - self._validate_ec_key_bundle(created_key, client.vault_url, key_name, key_type) + self._validate_ec_key_bundle(created_key, client.vault_endpoint, key_name, key_type) return created_key def _validate_ec_key_bundle(self, key_attributes, vault, key_name, kty): @@ -121,7 +121,7 @@ def _to_bytes(hex): ), ) imported_key = await client.import_key(name, key) - self._validate_rsa_key_bundle(imported_key, client.vault_url, name, "RSA", key.key_ops) + self._validate_rsa_key_bundle(imported_key, client.vault_endpoint, name, "RSA", key.key_ops) return imported_key @ResourceGroupPreparer() diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys.py b/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys.py index 725329b05a20..4ff988e29f8f 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys.py @@ -16,7 +16,7 @@ def print(*args): def test_create_key_client(): - vault_url = "vault_url" + vault_endpoint = "vault_endpoint" # pylint:disable=unused-variable # [START create_key_client] @@ -25,7 +25,7 @@ def test_create_key_client(): # Create a KeyClient using default Azure credentials credential = DefaultAzureCredential() - key_client = KeyClient(vault_url, credential) + key_client = KeyClient(vault_endpoint, credential) # [END create_key_client] @@ -92,7 +92,7 @@ def test_example_key_crud_operations(self, vault_client, **kwargs): print(key.name) print(key.properties.version) print(key.key_material.kty) - print(key.properties.vault_url) + print(key.properties.vault_endpoint) # [END get_key] # [START update_key] diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys_async.py index 1adaffe0592f..6b4bd944a4e6 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_samples_keys_async.py @@ -13,7 +13,7 @@ def print(*args): def test_create_key_client(): - vault_url = "vault_url" + vault_endpoint = "vault_endpoint" # pylint:disable=unused-variable # [START create_key_client] @@ -22,7 +22,7 @@ def test_create_key_client(): # Create a KeyClient using default Azure credentials credential = DefaultAzureCredential() - key_client = KeyClient(vault_url, credential) + key_client = KeyClient(vault_endpoint, credential) # [END create_key_client] @@ -86,7 +86,7 @@ async def test_example_key_crud_operations(self, vault_client, **kwargs): print(key.name) print(key.properties.version) print(key.key_material.kty) - print(key.properties.vault_url) + print(key.properties.vault_endpoint) # [END get_key] # [START update_key] diff --git a/sdk/keyvault/azure-keyvault-secrets/README.md b/sdk/keyvault/azure-keyvault-secrets/README.md index adf1dfb3304e..fa7ae57a0461 100644 --- a/sdk/keyvault/azure-keyvault-secrets/README.md +++ b/sdk/keyvault/azure-keyvault-secrets/README.md @@ -61,7 +61,7 @@ names): } ``` - > The `"vaultUri"` property is the `vault_url` used by `SecretClient` + > The `"vaultUri"` property is the `vault_endpoint` used by `SecretClient` ### Authenticate the client In order to interact with a Key Vault's secrets, you'll need an instance of the @@ -120,7 +120,7 @@ After setting the **AZURE_CLIENT_ID**, **AZURE_CLIENT_SECRET** and credential = DefaultAzureCredential() - secret_client = SecretClient(vault_url=, credential=credential) + secret_client = SecretClient(vault_endpoint=, credential=credential) ``` ## Key concepts @@ -221,7 +221,7 @@ This example creates a secret in the Key Vault with the specified optional argum from azure.keyvault.secrets.aio import SecretClient credential = DefaultAzureCredential() - secret_client = SecretClient(vault_url=vault_url, credential=credential) + secret_client = SecretClient(vault_endpoint=vault_endpoint, credential=credential) secret = await secret_client.set_secret("secret-name", "secret-value") @@ -281,7 +281,7 @@ file_handler = logging.FileHandler(filename) logger.addHandler(file_handler) # Enable network trace logging. Each HTTP request will be logged at DEBUG level. -client = SecretClient(vault_url=url, credential=credential, logging_enable=True) +client = SecretClient(vault_endpoint=url, credential=credential, logging_enable=True) ``` Network trace logging can also be enabled for any single operation: diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/__init__.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/__init__.py index a8fd2a41d71f..6cbd019761da 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/__init__.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/__init__.py @@ -23,7 +23,7 @@ "KeyVaultClientBase", ] -_VaultId = namedtuple("VaultId", ["vault_url", "collection", "name", "version"]) +_VaultId = namedtuple("VaultId", ["vault_endpoint", "collection", "name", "version"]) def parse_vault_id(url): @@ -40,7 +40,7 @@ def parse_vault_id(url): raise ValueError("'{}' is not not a valid vault url".format(url)) return _VaultId( - vault_url="{}://{}".format(parsed_uri.scheme, parsed_uri.hostname), + vault_endpoint="{}://{}".format(parsed_uri.scheme, parsed_uri.hostname), collection=path[0], name=path[1], version=path[2] if len(path) == 3 else None, diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py index b6081db0d09e..d0e26fb615b4 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py @@ -61,7 +61,7 @@ def _create_config( def __init__( self, - vault_url: str, + vault_endpoint: str, credential: "TokenCredential", transport: AsyncHttpTransport = None, api_version: str = None, @@ -72,10 +72,10 @@ def __init__( "credential should be an object supporting the TokenCredential protocol, " "such as a credential from azure-identity" ) - if not vault_url: - raise ValueError("vault_url must be the URL of an Azure Key Vault") + if not vault_endpoint: + raise ValueError("vault_endpoint must be the URL of an Azure Key Vault") - self._vault_url = vault_url.strip(" /") + self._vault_endpoint = vault_endpoint.strip(" /") client = kwargs.pop("generated_client", None) if client: @@ -111,5 +111,5 @@ def _build_pipeline(config: Configuration, transport: AsyncHttpTransport, **kwar return AsyncPipeline(transport, policies=policies) @property - def vault_url(self) -> str: - return self._vault_url + def vault_endpoint(self) -> str: + return self._vault_endpoint diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py index 54f033e55d28..7b30e1886860 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py @@ -56,17 +56,17 @@ def _create_config(credential, api_version=None, **kwargs): return config - def __init__(self, vault_url, credential, transport=None, api_version=None, **kwargs): + def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None if not credential: raise ValueError( "credential should be an object supporting the TokenCredential protocol, " "such as a credential from azure-identity" ) - if not vault_url: - raise ValueError("vault_url must be the URL of an Azure Key Vault") + if not vault_endpoint: + raise ValueError("vault_endpoint must be the URL of an Azure Key Vault") - self._vault_url = vault_url.strip(" /") + self._vault_endpoint = vault_endpoint.strip(" /") client = kwargs.pop("generated_client", None) if client: @@ -101,6 +101,6 @@ def _build_pipeline(self, config, transport, **kwargs): return Pipeline(transport, policies=policies) @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str - return self._vault_url + return self._vault_endpoint diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py index fc1e465cfde9..9bea82ecc0d3 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py @@ -16,7 +16,7 @@ class SecretClient(AsyncKeyVaultClientBase): """A high-level asynchronous interface for managing a vault's secrets. - :param str vault_url: URL of the vault the client will access + :param str vault_endpoint: URL of the vault the client will access :param credential: An object which can provide an access token for the vault, such as a credential from :mod:`azure.identity.aio` @@ -51,7 +51,7 @@ async def get_secret(self, name: str, version: Optional[str] = None, **kwargs: " :dedent: 8 """ bundle = await self._client.get_secret( - self.vault_url, name, version or "", error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, version or "", error_map={404: ResourceNotFoundError}, **kwargs ) return Secret._from_secret_bundle(bundle) @@ -93,7 +93,7 @@ async def set_secret( else: attributes = None bundle = await self._client.set_secret( - self.vault_url, name, value, secret_attributes=attributes, content_type=content_type, tags=tags, **kwargs + self.vault_endpoint, name, value, secret_attributes=attributes, content_type=content_type, tags=tags, **kwargs ) return Secret._from_secret_bundle(bundle) @@ -138,7 +138,7 @@ async def update_secret_properties( else: attributes = None bundle = await self._client.update_secret( - self.vault_url, + self.vault_endpoint, name, secret_version=version or "", content_type=content_type, @@ -167,7 +167,7 @@ def list_secrets(self, **kwargs: "**Any") -> AsyncIterable[SecretProperties]: """ max_results = kwargs.get("max_page_size") return self._client.get_secrets( - self.vault_url, + self.vault_endpoint, maxresults=max_results, cls=lambda objs: [SecretProperties._from_secret_item(x) for x in objs], **kwargs @@ -192,7 +192,7 @@ def list_secret_versions(self, name: str, **kwargs: "**Any") -> AsyncIterable[Se """ max_results = kwargs.get("max_page_size") return self._client.get_secret_versions( - self.vault_url, + self.vault_endpoint, name, maxresults=max_results, cls=lambda objs: [SecretProperties._from_secret_item(x) for x in objs], @@ -219,7 +219,7 @@ async def backup_secret(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_secret( - self.vault_url, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ) return backup_result.value @@ -243,7 +243,7 @@ async def restore_secret(self, backup: bytes, **kwargs: "**Any") -> SecretProper :dedent: 8 """ bundle = await self._client.restore_secret( - self.vault_url, backup, error_map={409: ResourceExistsError}, **kwargs + self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs ) return SecretProperties._from_secret_bundle(bundle) @@ -266,7 +266,7 @@ async def delete_secret(self, name: str, **kwargs: "**Any") -> DeletedSecret: :dedent: 8 """ bundle = await self._client.delete_secret( - self.vault_url, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ) return DeletedSecret._from_deleted_secret_bundle(bundle) @@ -290,7 +290,7 @@ async def get_deleted_secret(self, name: str, **kwargs: "**Any") -> DeletedSecre :dedent: 8 """ bundle = await self._client.get_deleted_secret( - self.vault_url, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ) return DeletedSecret._from_deleted_secret_bundle(bundle) @@ -312,7 +312,7 @@ def list_deleted_secrets(self, **kwargs: "**Any") -> AsyncIterable[DeletedSecret """ max_results = kwargs.get("max_page_size") return self._client.get_deleted_secrets( - self.vault_url, + self.vault_endpoint, maxresults=max_results, cls=lambda objs: [DeletedSecret._from_deleted_secret_item(x) for x in objs], **kwargs @@ -337,7 +337,7 @@ async def purge_deleted_secret(self, name: str, **kwargs: "**Any") -> None: await secret_client.purge_deleted_secret("secret-name") """ - await self._client.purge_deleted_secret(self.vault_url, name, **kwargs) + await self._client.purge_deleted_secret(self.vault_endpoint, name, **kwargs) @distributed_trace_async async def recover_deleted_secret(self, name: str, **kwargs: "**Any") -> SecretProperties: @@ -357,5 +357,5 @@ async def recover_deleted_secret(self, name: str, **kwargs: "**Any") -> SecretPr :caption: Recover a deleted secret :dedent: 8 """ - bundle = await self._client.recover_deleted_secret(self.vault_url, name, **kwargs) + bundle = await self._client.recover_deleted_secret(self.vault_endpoint, name, **kwargs) return SecretProperties._from_secret_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py index 54706838282e..b66aa4858886 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py @@ -23,7 +23,7 @@ class SecretClient(KeyVaultClientBase): """A high-level interface for managing a vault's secrets. - :param str vault_url: URL of the vault the client will access + :param str vault_endpoint: URL of the vault the client will access :param credential: An object which can provide an access token for the vault, such as a credential from :mod:`azure.identity` @@ -59,7 +59,7 @@ def get_secret(self, name, version=None, **kwargs): :dedent: 8 """ bundle = self._client.get_secret( - vault_base_url=self._vault_url, + vault_base_url=self._vault_endpoint, secret_name=name, secret_version=version or "", error_map={404: ResourceNotFoundError}, @@ -107,7 +107,7 @@ def set_secret( else: attributes = None bundle = self._client.set_secret( - vault_base_url=self.vault_url, + vault_base_url=self.vault_endpoint, secret_name=name, value=value, secret_attributes=attributes, @@ -160,7 +160,7 @@ def update_secret_properties( else: attributes = None bundle = self._client.update_secret( - self.vault_url, + self.vault_endpoint, name, secret_version=version or "", content_type=content_type, @@ -191,7 +191,7 @@ def list_secrets(self, **kwargs): """ max_page_size = kwargs.get("max_page_size", None) return self._client.get_secrets( - self._vault_url, + self._vault_endpoint, maxresults=max_page_size, cls=lambda objs: [SecretProperties._from_secret_item(x) for x in objs], **kwargs @@ -218,7 +218,7 @@ def list_secret_versions(self, name, **kwargs): """ max_page_size = kwargs.get("max_page_size", None) return self._client.get_secret_versions( - self._vault_url, + self._vault_endpoint, name, maxresults=max_page_size, cls=lambda objs: [SecretProperties._from_secret_item(x) for x in objs], @@ -247,7 +247,7 @@ def backup_secret(self, name, **kwargs): """ backup_result = self._client.backup_secret( - self.vault_url, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ) return backup_result.value @@ -272,7 +272,7 @@ def restore_secret(self, backup, **kwargs): :dedent: 8 """ - bundle = self._client.restore_secret(self.vault_url, backup, error_map={409: ResourceExistsError}, **kwargs) + bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs) return SecretProperties._from_secret_bundle(bundle) @distributed_trace @@ -295,7 +295,7 @@ def delete_secret(self, name, **kwargs): :dedent: 8 """ - bundle = self._client.delete_secret(self.vault_url, name, error_map={404: ResourceNotFoundError}, **kwargs) + bundle = self._client.delete_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace @@ -319,7 +319,7 @@ def get_deleted_secret(self, name, **kwargs): :dedent: 8 """ - bundle = self._client.get_deleted_secret(self.vault_url, name, error_map={404: ResourceNotFoundError}, **kwargs) + bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace @@ -342,7 +342,7 @@ def list_deleted_secrets(self, **kwargs): """ max_page_size = kwargs.get("max_page_size", None) return self._client.get_deleted_secrets( - self._vault_url, + self._vault_endpoint, maxresults=max_page_size, cls=lambda objs: [DeletedSecret._from_deleted_secret_item(x) for x in objs], **kwargs @@ -368,7 +368,7 @@ def purge_deleted_secret(self, name, **kwargs): secret_client.purge_deleted_secret("secret-name") """ - self._client.purge_deleted_secret(self.vault_url, name, **kwargs) + self._client.purge_deleted_secret(self.vault_endpoint, name, **kwargs) @distributed_trace def recover_deleted_secret(self, name, **kwargs): @@ -390,5 +390,5 @@ def recover_deleted_secret(self, name, **kwargs): :dedent: 8 """ - bundle = self._client.recover_deleted_secret(self.vault_url, name, **kwargs) + bundle = self._client.recover_deleted_secret(self.vault_endpoint, name, **kwargs) return SecretProperties._from_secret_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py index e9fcd4a69818..5793acfded96 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py @@ -132,14 +132,14 @@ def recovery_level(self): return self._attributes.recovery_level @property - def vault_url(self): + def vault_endpoint(self): # type: () -> str """ URL of the vault containing the secret :rtype: str """ - return self._vault_id.vault_url + return self._vault_id.vault_endpoint @property def name(self): diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations.py b/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations.py index c556abb0246f..4efcbff406a7 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations.py @@ -13,7 +13,7 @@ # # 2. azure-keyvault-secrets and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -32,9 +32,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = SecretClient(vault_url=VAULT_URL, credential=credential) +client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a secret holding storage account credentials. # if the secret already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations_async.py b/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations_async.py index e994d4677f0a..88ff6f05d145 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations_async.py @@ -15,7 +15,7 @@ # 2. Microsoft Azure Key Vault PyPI package - # https://pypi.python.org/pypi/azure-keyvault-secrets/ # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -34,9 +34,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = SecretClient(vault_url=VAULT_URL, credential=credential) + client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a secret holding storage account credentials. # if the secret already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py index 74acf1e7e702..8cafea8dfd0b 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py @@ -15,7 +15,7 @@ # 2. Microsoft Azure Key Vault PyPI package - # https://pypi.python.org/pypi/azure-keyvault-secrets/ # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = SecretClient(vault_url=VAULT_URL, credential=credential) + client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a secret holding bank account credentials valid for 1 year. # if the secret already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py index 908c1287519d..d6515df4f7c8 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py @@ -15,7 +15,7 @@ # # 2. azure-keyvault-secrets and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = SecretClient(vault_url=VAULT_URL, credential=credential) + client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create a secret holding bank account credentials valid for 1 year. # if the secret already exists in the key vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py b/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py index e8fbbe91ffd5..22b5a48efe5a 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-secrets and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ def run_sample(): # Instantiate a secret client that will be used to call the service. Notice that the client is using default Azure # credentials. To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = SecretClient(vault_url=VAULT_URL, credential=credential) + client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create secrets holding storage and bank accounts credentials. If the secret # already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/list_operations_async.py b/sdk/keyvault/azure-keyvault-secrets/samples/list_operations_async.py index 1661ab8352b3..8536df4d003d 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/list_operations_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/list_operations_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-secrets and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -37,9 +37,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = SecretClient(vault_url=VAULT_URL, credential=credential) + client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create secrets holding storage and bank accounts credentials. If the secret # already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations.py b/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations.py index 86ba22deeba6..acb97f16d232 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-secrets and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. -VAULT_URL = os.environ["VAULT_URL"] +VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() -client = SecretClient(vault_url=VAULT_URL, credential=credential) +client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create secrets holding storage and bank accounts credentials. If the secret # already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations_async.py b/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations_async.py index f1724e598c7e..fc57caa6b147 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations_async.py @@ -14,7 +14,7 @@ # # 2. azure-keyvault-secrets and azure-identity libraries (pip install these) # -# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_URL +# 3. Set Environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, VAULT_ENDPOINT # (See https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys#authenticate-the-client) # # ---------------------------------------------------------------------------------------------------------- @@ -35,9 +35,9 @@ async def run_sample(): # Notice that the client is using default Azure credentials. # To make default credentials work, ensure that environment variables 'AZURE_CLIENT_ID', # 'AZURE_CLIENT_SECRET' and 'AZURE_TENANT_ID' are set with the service principal credentials. - VAULT_URL = os.environ["VAULT_URL"] + VAULT_ENDPOINT = os.environ["VAULT_ENDPOINT"] credential = DefaultAzureCredential() - client = SecretClient(vault_url=VAULT_URL, credential=credential) + client = SecretClient(vault_endpoint=VAULT_ENDPOINT, credential=credential) try: # Let's create secrets holding storage and bank accounts credentials. If the secret # already exists in the Key Vault, then a new version of the secret is created. diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client.py b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client.py index 726218572446..b7d5b48c4e22 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client.py @@ -19,12 +19,12 @@ class VaultClient(KeyVaultClientBase): - def __init__(self, vault_url, credential, transport=None, api_version=None, **kwargs): + def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None super(VaultClient, self).__init__( - vault_url, credential, transport=transport, api_version=api_version, **kwargs + vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs ) - self._secrets = SecretClient(self.vault_url, credential, generated_client=self._client, **kwargs) + self._secrets = SecretClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property def secrets(self): diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client_async.py index a374f9a3782c..2ae1c31a6a2f 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_vault_client_async.py @@ -25,16 +25,16 @@ class VaultClient(AsyncKeyVaultClientBase): def __init__( self, - vault_url: str, + vault_endpoint: str, credential: "TokenCredential", transport: HttpTransport = None, api_version: str = None, **kwargs: Any ) -> None: super(VaultClient, self).__init__( - vault_url, credential, transport=transport, api_version=api_version, **kwargs + vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs ) - self._secrets = SecretClient(self.vault_url, credential, generated_client=self._client, **kwargs) + self._secrets = SecretClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property def secrets(self): diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py index f4d92a6eea47..5fb707fe6a01 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py @@ -16,7 +16,7 @@ def print(*args): def test_create_secret_client(): - vault_url = "vault_url" + vault_endpoint = "vault_endpoint" # pylint:disable=unused-variable # [START create_secret_client] @@ -25,7 +25,7 @@ def test_create_secret_client(): # Create a SecretClient using default Azure credentials credentials = DefaultAzureCredential() - secret_client = SecretClient(vault_url, credentials) + secret_client = SecretClient(vault_endpoint, credentials) # [END create_secret_client] @@ -60,7 +60,7 @@ def test_example_secret_crud_operations(self, vault_client, **kwargs): print(secret.id) print(secret.name) print(secret.properties.version) - print(secret.properties.vault_url) + print(secret.properties.vault_endpoint) # [END get_secret] # [START update_secret] diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py index a341608ea5d1..630a72226803 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py @@ -14,7 +14,7 @@ def print(*args): def test_create_secret_client(): - vault_url = "vault_url" + vault_endpoint = "vault_endpoint" # pylint:disable=unused-variable # [START create_secret_client] @@ -23,7 +23,7 @@ def test_create_secret_client(): # Create a SecretClient using default Azure credentials credentials = DefaultAzureCredential() - secret_client = SecretClient(vault_url, credentials) + secret_client = SecretClient(vault_endpoint, credentials) # [END create_secret_client] @@ -62,7 +62,7 @@ async def test_example_secret_crud_operations(self, vault_client, **kwargs): print(secret.id) print(secret.name) print(secret.properties.version) - print(secret.properties.vault_url) + print(secret.properties.vault_endpoint) # [END get_secret] # [START update_secret] diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py index 12a1a1abe502..0e6a3472dae8 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py @@ -16,7 +16,7 @@ class KeyVaultSecretTest(AsyncKeyVaultTestCase): def _assert_secret_attributes_equal(self, s1, s2): self.assertEqual(s1.name, s2.name) - self.assertEqual(s1.vault_url, s2.vault_url) + self.assertEqual(s1.vault_endpoint, s2.vault_endpoint) self.assertEqual(s1.content_type, s2.content_type) self.assertEqual(s1.enabled, s2.enabled) self.assertEqual(s1.not_before, s2.not_before) @@ -57,14 +57,14 @@ async def test_secret_crud_operations(self, vault_client, **kwargs): # create secret created = await client.set_secret(secret_name, secret_value) - self._validate_secret_bundle(created, vault_client.vault_url, secret_name, secret_value) + self._validate_secret_bundle(created, vault_client.vault_endpoint, secret_name, secret_value) # set secret with optional arguments not_before = date_parse.parse("2015-02-02T08:00:00.000Z") enabled = True tags = {"foo": "created tag"} created = await client.set_secret(secret_name, secret_value, enabled=enabled, not_before=not_before, tags=tags) - self._validate_secret_bundle(created, vault_client.vault_url, secret_name, secret_value) + self._validate_secret_bundle(created, vault_client.vault_endpoint, secret_name, secret_value) self.assertEqual(enabled, created.properties.enabled) self.assertEqual(not_before, created.properties.not_before) self.assertEqual(tags, created.properties.tags) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py index 1678298e3840..e5c6f9406c01 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py @@ -15,7 +15,7 @@ class SecretClientTests(KeyVaultTestCase): def _assert_secret_attributes_equal(self, s1, s2): self.assertEqual(s1.name, s2.name) - self.assertEqual(s1.vault_url, s2.vault_url) + self.assertEqual(s1.vault_endpoint, s2.vault_endpoint) self.assertEqual(s1.content_type, s2.content_type) self.assertEqual(s1.enabled, s2.enabled) self.assertEqual(s1.not_before, s2.not_before) @@ -55,7 +55,7 @@ def test_secret_crud_operations(self, vault_client, **kwargs): # create secret created = client.set_secret(secret_name, secret_value) - self._validate_secret_bundle(created, vault_client.vault_url, secret_name, secret_value) + self._validate_secret_bundle(created, vault_client.vault_endpoint, secret_name, secret_value) # set secret with optional arguments expires = date_parse.parse("2050-02-02T08:00:00.000Z") @@ -72,7 +72,7 @@ def test_secret_crud_operations(self, vault_client, **kwargs): expires=expires, tags=tags, ) - self._validate_secret_bundle(created, vault_client.vault_url, secret_name, secret_value) + self._validate_secret_bundle(created, vault_client.vault_endpoint, secret_name, secret_value) self.assertEqual(content_type, created.properties.content_type) self.assertEqual(enabled, created.properties.enabled) self.assertEqual(not_before, created.properties.not_before) From c5cb88038e284bec1f78eba30b9daf38cd1beabf Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Fri, 4 Oct 2019 15:39:38 -0700 Subject: [PATCH 02/19] moved enabled and tags to kwargs --- .../azure/keyvault/certificates/aio/client.py | 68 ++++++++++++------- .../azure/keyvault/certificates/client.py | 67 +++++++++++------- 2 files changed, 87 insertions(+), 48 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py index edccc0401672..df2e8d1536b4 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py @@ -46,8 +46,6 @@ async def create_certificate( self, name: str, policy: Optional[CertificatePolicy] = None, - enabled: Optional[bool] = None, - tags: Optional[Dict[str, str]] = None, **kwargs: "**Any" ) -> Coroutine: """Creates a new certificate. @@ -59,15 +57,16 @@ async def create_certificate( :param policy: The management policy for the certificate. :type policy: ~azure.keyvault.certificates.models.CertificatePolicy - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict(str, str) :returns: A coroutine for the creation of the certificate. Awaiting the coroutine returns the created Certificate if creation is successful, the CertificateOperation if not. :rtype: coroutine[~azure.keyvault.certificates.models.Certificate or ~azure.keyvault.certificates.models.CertificateOperation] :raises: :class:`~azure.core.exceptions.HttpResponseError` + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. + Example: .. literalinclude:: ../tests/test_examples_certificates_async.py :start-after: [START create_certificate] @@ -76,6 +75,10 @@ async def create_certificate( :caption: Create a certificate :dedent: 8 """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -271,8 +274,6 @@ async def import_certificate( certificate_bytes: bytes, password: Optional[str] = None, policy: Optional[CertificatePolicy] = None, - enabled: Optional[bool] = None, - tags: Optional[Dict[str, str]] = None, **kwargs: "**Any" ) -> Certificate: """Imports a certificate into a specified key vault. @@ -291,13 +292,18 @@ async def import_certificate( :param policy: The management policy for the certificate. :type policy: ~azure.keyvault.certificates.models.CertificatePolicy - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict[str, str] :returns: The imported Certificate :rtype: ~azure.keyvault.certificates.models.Certificate :raises: :class:`~azure.core.exceptions.HttpResponseError` + + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -359,8 +365,6 @@ async def update_certificate_properties( self, name: str, version: Optional[str] = None, - enabled: Optional[bool] = None, - tags: Optional[Dict[str, str]] = None, **kwargs: "**Any" ) -> Certificate: """Updates the specified attributes associated with the given certificate. @@ -371,13 +375,14 @@ async def update_certificate_properties( :param str name: The name of the certificate in the given key vault. :param str version: The version of the certificate. - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict(str, str) :returns: The updated Certificate :rtype: ~azure.keyvault.certificates.models.Certificate :raises: :class:`~azure.core.exceptions.HttpResponseError` + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. + Example: .. literalinclude:: ../tests/test_examples_certificates_async.py :start-after: [START update_certificate] @@ -386,6 +391,10 @@ async def update_certificate_properties( :caption: Update a certificate's attributes :dedent: 8 """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -752,8 +761,6 @@ async def merge_certificate( self, name: str, x509_certificates: List[bytearray], - enabled: Optional[bool] = None, - tags: Optional[Dict[str, str]] = None, **kwargs: "**Any" ) -> Certificate: """Merges a certificate or a certificate chain with a key pair existing on the server. @@ -767,13 +774,18 @@ async def merge_certificate( :param str name: The name of the certificate :param x509_certificates: The certificate or the certificate chain to merge. :type x509_certificates: list[bytearray] - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict[str, str] :return: The merged certificate operation :rtype: ~azure.keyvault.certificates.models.CertificateOperation :raises: :class:`~azure.core.exceptions.HttpResponseError` + + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -824,7 +836,6 @@ async def create_issuer( password: Optional[str] = None, organization_id: Optional[str] = None, admin_details: Optional[List[AdministratorDetails]] = None, - enabled: Optional[bool] = None, **kwargs: "**Any" ) -> Issuer: """Sets the specified certificate issuer. @@ -840,11 +851,13 @@ async def create_issuer( :param str organization_id: Id of the organization. :param admin_details: Details of the organization administrators of the certificate issuer. :type admin_details: list[~azure.keyvault.certificates.models.AdministratorDetails] - :param bool enabled: Determines whether the object is enabled. :returns: The created Issuer :rtype: ~azure.keyvault.certificates.models.Issuer :raises: :class:`~azure.core.exceptions.HttpResponseError` + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + Example: .. literalinclude:: ../tests/test_examples_certificates_async.py :start-after: [START create_issuer] @@ -853,6 +866,9 @@ async def create_issuer( :caption: Create an issuer :dedent: 8 """ + + enabled = kwargs.pop('enabled', None) + if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) else: @@ -899,7 +915,6 @@ async def update_issuer( password: Optional[str] = None, organization_id: Optional[str] = None, admin_details: Optional[List[AdministratorDetails]] = None, - enabled: Optional[bool] = None, **kwargs: "**Any" ) -> Issuer: """Updates the specified certificate issuer. @@ -914,11 +929,16 @@ async def update_issuer( :param str organization_id: Id of the organization :param admin_details: Details of the organization administrators of the certificate issuer. :type admin_details: list[~azure.keyvault.certificates.models.AdministratorDetails] - :param bool enabled: Determines whether the issuer is enabled. :return: The updated issuer :rtype: ~azure.keyvault.certificates.models.Issuer :raises: :class:`~azure.core.exceptions.HttpResponseError` + + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. """ + + enabled = kwargs.pop('enabled', None) + if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) else: diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index 85cf7f4b71c0..d1497ca907e4 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -53,8 +53,6 @@ def create_certificate( self, name, # type: str policy=None, # type: Optional[CertificatePolicy] - enabled=None, # type: Optional[bool] - tags=None, # type: Optional[Dict[str, str]] **kwargs # type: Any ): # type: (...) -> LROPoller @@ -67,15 +65,16 @@ def create_certificate( :param policy: The management policy for the certificate. :type policy: ~azure.keyvault.certificates.models.CertificatePolicy - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict(str, str) :returns: An LROPoller for the create certificate operation. Waiting on the poller gives you the certificate if creation is successful, the CertificateOperation if not. :rtype: ~azure.core.polling.LROPoller[~azure.keyvault.certificates.models.Certificate or ~azure.keyvault.certificates.models.CertificateOperation] :raises: :class:`~azure.core.exceptions.HttpResponseError` + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. + Example: .. literalinclude:: ../tests/test_examples_certificates.py :start-after: [START create_certificate] @@ -85,6 +84,9 @@ def create_certificate( :dedent: 8 """ + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('enabled', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -288,8 +290,6 @@ def import_certificate( certificate_bytes, # type: bytes password=None, # type: Optional[str] policy=None, # type: Optional[CertificatePolicy] - enabled=None, # type: Optional[bool] - tags=None, # type: Optional[Dict[str, str]] **kwargs # type: **Any ): # type: (...) -> Certificate @@ -309,14 +309,18 @@ def import_certificate( :param policy: The management policy for the certificate. :type policy: ~azure.keyvault.certificates.models.CertificatePolicy - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value - pairs. - :type tags: dict[str, str] :returns: The imported Certificate :rtype: ~azure.keyvault.certificates.models.Certificate :raises: :class:`~azure.core.exceptions.HttpResponseError` + + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -378,8 +382,6 @@ def update_certificate_properties( self, name, # type: str version=None, # type: Optional[str] - enabled=None, # type: Optional[bool] - tags=None, # type: Optional[Dict[str, str]] **kwargs # type: **Any ): # type: (...) -> Certificate @@ -392,13 +394,14 @@ def update_certificate_properties( :param str name: The name of the certificate in the given key vault. :param str version: The version of the certificate. - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict(str, str) :returns: The updated Certificate :rtype: ~azure.keyvault.certificates.models.Certificate :raises: :class:`~azure.core.exceptions.HttpResponseError` + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. + Example: .. literalinclude:: ../tests/test_examples_certificates.py :start-after: [START update_certificate] @@ -407,6 +410,10 @@ def update_certificate_properties( :caption: Update a certificate's attributes :dedent: 8 """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -716,8 +723,6 @@ def merge_certificate( self, name, # type: str x509_certificates, # type: List[bytearray] - enabled=None, # type: Optional[bool] - tags=None, # type: Optional[Dict[str, str]] **kwargs # type: **Any ): # type: (...) -> Certificate @@ -732,13 +737,18 @@ def merge_certificate( :param str name: The name of the certificate :param x509_certificates: The certificate or the certificate chain to merge. :type x509_certificates: list[bytearray] - :param bool enabled: Determines whether the object is enabled. - :param tags: Application specific metadata in the form of key-value pairs. - :type tags: dict[str, str] :return: The merged certificate :rtype: ~azure.keyvault.certificates.models.Certificate :raises: :class:`~azure.core.exceptions.HttpResponseError` + + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ + + enabled = kwargs.pop('enabled', None) + tags = kwargs.pop('tags', None) + if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) else: @@ -843,7 +853,6 @@ def create_issuer( password=None, # type: Optional[str] organization_id=None, # type: Optional[str] admin_details=None, # type: Optional[List[AdministratorDetails]] - enabled=None, # type: Optional[bool] **kwargs # type: **Any ): # type: (...) -> Issuer @@ -860,11 +869,13 @@ def create_issuer( :param str organization_id: Id of the organization. :param admin_details: Details of the organization administrators of the certificate issuer. :type admin_details: list[~azure.keyvault.certificates.models.AdministratorDetails] - :param bool enabled: Determines whether the object is enabled. :returns: The created Issuer :rtype: ~azure.keyvault.certificates.models.Issuer :raises: :class:`~azure.core.exceptions.HttpResponseError` + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. + Example: .. literalinclude:: ../tests/test_examples_certificates.py :start-after: [START create_issuer] @@ -873,6 +884,9 @@ def create_issuer( :caption: Create an issuer :dedent: 8 """ + + enabled = kwargs.pop('enabled', None) + if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) else: @@ -919,7 +933,6 @@ def update_issuer( password=None, # type: Optional[str] organization_id=None, # type: Optional[str] admin_details=None, # type: Optional[List[AdministratorDetails]] - enabled=None, # type: Optional[bool] **kwargs # type: **Any ): # type: (...) -> Issuer @@ -939,7 +952,13 @@ def update_issuer( :return: The updated issuer :rtype: ~azure.keyvault.certificates.models.Issuer :raises: :class:`~azure.core.exceptions.HttpResponseError` + + Keyword arguments + - *enabled (bool)* - Determines whether the object is enabled. """ + + enabled = kwargs.pop('enabled', None) + if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) else: From 245c98d709b3ed1dbfbeae50a95412db882f03a5 Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Fri, 4 Oct 2019 15:44:21 -0700 Subject: [PATCH 03/19] changed the name parameter for get_policy and update_policy to certificate_name --- .../azure/keyvault/certificates/aio/client.py | 12 ++++++------ .../azure/keyvault/certificates/client.py | 12 ++++++------ .../tests/test_certificates_client.py | 6 +++--- .../tests/test_certificates_client_async.py | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py index df2e8d1536b4..de9b2afd7b4a 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py @@ -322,30 +322,30 @@ async def import_certificate( return Certificate._from_certificate_bundle(certificate_bundle=bundle) @distributed_trace_async - async def get_policy(self, name: str, **kwargs: "**Any") -> CertificatePolicy: + async def get_policy(self, certificate_name: str, **kwargs: "**Any") -> CertificatePolicy: """Gets the policy for a certificate. Returns the specified certificate policy resources in the key vault. This operation requires the certificates/get permission. - :param str name: The name of the certificate in a given key vault. + :param str certificate_name: The name of the certificate in a given key vault. :return: The certificate policy :rtype: ~azure.keyvault.certificates.models.CertificatePolicy :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = await self._client.get_certificate_policy( - vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs ) return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace_async - async def update_policy(self, name: str, policy: CertificatePolicy, **kwargs: "**Any") -> CertificatePolicy: + async def update_policy(self, certificate_name: str, policy: CertificatePolicy, **kwargs: "**Any") -> CertificatePolicy: """Updates the policy for a certificate. Set specified members in the certificate policy. Leaves others as null. This operation requries the certificates/update permission. - :param str name: The name of the certificate in the given vault. + :param str certificate_name: The name of the certificate in the given vault. :param policy: The policy for the certificate. :type policy: ~azure.keyvault.certificates.models.CertificatePolicy :return: The certificate policy @@ -354,7 +354,7 @@ async def update_policy(self, name: str, policy: CertificatePolicy, **kwargs: "* """ bundle = await self._client.update_certificate_policy( vault_base_url=self.vault_endpoint, - certificate_name=name, + certificate_name=certificate_name, certificate_policy=policy._to_certificate_policy_bundle(), **kwargs ) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index d1497ca907e4..a28cf8683736 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -339,30 +339,30 @@ def import_certificate( return Certificate._from_certificate_bundle(certificate_bundle=bundle) @distributed_trace - def get_policy(self, name, **kwargs): + def get_policy(self, certificate_name, **kwargs): # type: (str, **Any) -> CertificatePolicy """Gets the policy for a certificate. Returns the specified certificate policy resources in the key vault. This operation requires the certificates/get permission. - :param str name: The name of the certificate in a given key vault. + :param str certificate_name: The name of the certificate in a given key vault. :return: The certificate policy :rtype: ~azure.keyvault.certificates.models.CertificatePolicy :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) + bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs) return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace - def update_policy(self, name, policy, **kwargs): + def update_policy(self, certificate_name, policy, **kwargs): # type: (str, CertificatePolicy, **Any) -> CertificatePolicy """Updates the policy for a certificate. Set specified members in the certificate policy. Leaves others as null. This operation requires the certificates/update permission. - :param str name: The name of the certificate in the given vault. + :param str certificate_name: The name of the certificate in the given vault. :param policy: The policy for the certificate. :type policy: ~azure.keyvault.certificates.models.CertificatePolicy :return: The certificate policy @@ -371,7 +371,7 @@ def update_policy(self, name, policy, **kwargs): """ bundle = self._client.update_certificate_policy( vault_base_url=self.vault_endpoint, - certificate_name=name, + certificate_name=certificate_name, certificate_policy=policy._to_certificate_policy_bundle(), **kwargs ) diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py index 6e5666497096..2aeed4ee4d09 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py @@ -475,7 +475,7 @@ def test_policy(self, vault_client, **kwargs): # get certificate policy self._import_common_certificate(client=client, cert_name=cert_name) - retrieved_policy = client.get_policy(name=cert_name) + retrieved_policy = client.get_policy(certificate_name=cert_name) self.assertIsNotNone(retrieved_policy) # update certificate policy @@ -485,8 +485,8 @@ def test_policy(self, vault_client, **kwargs): issuer_parameters=IssuerParameters(name="Self"), ) - client.update_policy(name=cert_name, policy=CertificatePolicy._from_certificate_policy_bundle(cert_policy)) - updated_cert_policy = client.get_policy(name=cert_name) + client.update_policy(certificate_name=cert_name, policy=CertificatePolicy._from_certificate_policy_bundle(cert_policy)) + updated_cert_policy = client.get_policy(certificate_name=cert_name) self.assertIsNotNone(updated_cert_policy) @ResourceGroupPreparer() diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py index 20ab419ac6f0..10a58295b61c 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py @@ -488,7 +488,7 @@ async def test_policy(self, vault_client, **kwargs): # get certificate policy await self._import_common_certificate(client=client, cert_name=cert_name) - retrieved_policy = await client.get_policy(name=cert_name) + retrieved_policy = await client.get_policy(certificate_name=cert_name) self.assertIsNotNone(retrieved_policy) # update certificate policy @@ -499,9 +499,9 @@ async def test_policy(self, vault_client, **kwargs): ) await client.update_policy( - name=cert_name, policy=CertificatePolicy._from_certificate_policy_bundle(cert_policy) + certificate_name=cert_name, policy=CertificatePolicy._from_certificate_policy_bundle(cert_policy) ) - updated_cert_policy = await client.get_policy(name=cert_name) + updated_cert_policy = await client.get_policy(certificate_name=cert_name) self.assertIsNotNone(updated_cert_policy) @ResourceGroupPreparer() From cd9b4c475b2d779ed7249740815367670da4ea7a Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Fri, 4 Oct 2019 15:55:44 -0700 Subject: [PATCH 04/19] updated changelog --- sdk/keyvault/azure-keyvault-certificates/HISTORY.md | 4 +++- sdk/keyvault/azure-keyvault-keys/HISTORY.md | 2 ++ sdk/keyvault/azure-keyvault-secrets/HISTORY.md | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/HISTORY.md b/sdk/keyvault/azure-keyvault-certificates/HISTORY.md index 74cf5e82bac6..eef76878916f 100644 --- a/sdk/keyvault/azure-keyvault-certificates/HISTORY.md +++ b/sdk/keyvault/azure-keyvault-certificates/HISTORY.md @@ -11,7 +11,9 @@ as certain properties of `Certificate` (such as `version`) have to be accessed through the `properties` property. See the updated [docs] (https://azure.github.io/azure-sdk-for-python/ref/azure.keyvault.certificates.html) for details. -- `update_certificate` has been renamed to `update_certificate_propertie` +- `update_certificate` has been renamed to `update_certificate_properties` +- The `vault_url` parameter of `CertificateClient` has been renamed to `vault_endpoint` +- The property `vault_url` has been renamed to `vault_endpoint` in all models. ## 4.0.0b3 (2019-09-11) Version 4.0.0b3 is the first preview of our efforts to create a user-friendly and Pythonic client library for Azure Key Vault's certificates. diff --git a/sdk/keyvault/azure-keyvault-keys/HISTORY.md b/sdk/keyvault/azure-keyvault-keys/HISTORY.md index 31a23fdd7e8b..93f164e4d392 100644 --- a/sdk/keyvault/azure-keyvault-keys/HISTORY.md +++ b/sdk/keyvault/azure-keyvault-keys/HISTORY.md @@ -10,6 +10,8 @@ through the `properties` property. See the updated [docs] (https://azure.github.io/azure-sdk-for-python/ref/azure.keyvault.keys.html) for details. - `update_key` has been renamed to `update_key_properties` +- The `vault_url` parameter of `KeyClient` has been renamed to `vault_endpoint` +- The property `vault_url` has been renamed to `vault_endpoint` in all models. ### Fixes and improvements: - The `key` argument to `import_key` should be an instance of `azure.keyvault.keys.JsonWebKey` diff --git a/sdk/keyvault/azure-keyvault-secrets/HISTORY.md b/sdk/keyvault/azure-keyvault-secrets/HISTORY.md index 285f45a649d7..3c864a384fb9 100644 --- a/sdk/keyvault/azure-keyvault-secrets/HISTORY.md +++ b/sdk/keyvault/azure-keyvault-secrets/HISTORY.md @@ -9,6 +9,8 @@ through the `properties` property. See the updated [docs] (https://azure.github.io/azure-sdk-for-python/ref/azure.keyvault.secrets.html) for details. - `update_secret` has been renamed to `update_secret_properties`. +- The `vault_url` parameter of `SecretClient` has been renamed to `vault_endpoint` +- The property `vault_url` has been renamed to `vault_endpoint` in all models. ### Fixes and improvements - `list_secrets` and `list_secret_versions` return the correct type From 3a85f85f1d2880a53e12494c1fe3b2c78f944bf9 Mon Sep 17 00:00:00 2001 From: annatisch Date: Fri, 4 Oct 2019 15:11:55 -0700 Subject: [PATCH 05/19] [Core] Updated release notes (#7627) --- sdk/core/azure-core/HISTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/core/azure-core/HISTORY.md b/sdk/core/azure-core/HISTORY.md index 35e6eb868778..dce2b973d59d 100644 --- a/sdk/core/azure-core/HISTORY.md +++ b/sdk/core/azure-core/HISTORY.md @@ -23,6 +23,7 @@ - Tracing: policy cannot fail the pipeline, even in the worst condition #7252 - Tracing: policy pass correctly status message if exception #7252 - Tracing: incorrect span if exception raised from decorated function #7133 +- Fixed urllib3 ConnectTimeoutError being raised by Requests during a socket timeout. Now this exception is caught and wrapped as a `ServiceRequestError` #7542 ### Breaking changes From 1285a03ad2ce54faf620d26fde25de9e0c8c1b7d Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 4 Oct 2019 18:13:37 -0700 Subject: [PATCH 06/19] Core doc fix (#7638) * Fix azure-core examples * Fix azure-core Readme * Simplify doc * Kill common.py file * Remove tracing.ext --- .../ref/azure.core.pipeline.policies.rst | 92 ------------------- doc/sphinx/ref/azure.core.pipeline.rst | 20 ---- .../ref/azure.core.pipeline.transport.rst | 52 ----------- doc/sphinx/ref/azure.core.polling.rst | 20 ---- doc/sphinx/ref/azure.core.rst | 48 ---------- doc/sphinx/ref/azure.core.tracing.rst | 9 -- sdk/core/azure-core/README.md | 3 +- sdk/core/azure-core/azure/core/common.py | 32 ------- .../azure-core/examples/test_example_async.py | 3 +- .../examples/test_example_config.py | 2 +- .../examples/test_example_sansio.py | 2 +- .../azure-core/examples/test_example_sync.py | 5 +- 12 files changed, 9 insertions(+), 279 deletions(-) delete mode 100644 sdk/core/azure-core/azure/core/common.py diff --git a/doc/sphinx/ref/azure.core.pipeline.policies.rst b/doc/sphinx/ref/azure.core.pipeline.policies.rst index c2e8e5552302..83f75dcd996d 100644 --- a/doc/sphinx/ref/azure.core.pipeline.policies.rst +++ b/doc/sphinx/ref/azure.core.pipeline.policies.rst @@ -1,98 +1,6 @@ azure.core.pipeline.policies package ==================================== -Submodules ----------- - -azure.core.pipeline.policies.authentication module --------------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.authentication - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.authentication\_async module ---------------------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.authentication_async - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.base module ----------------------------------------- - -.. automodule:: azure.core.pipeline.policies.base - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.base\_async module ------------------------------------------------ - -.. automodule:: azure.core.pipeline.policies.base_async - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.custom\_hook module ------------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.custom_hook - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.distributed\_tracing module --------------------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.distributed_tracing - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.redirect module --------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.redirect - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.redirect\_async module ---------------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.redirect_async - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.retry module ------------------------------------------ - -.. automodule:: azure.core.pipeline.policies.retry - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.retry\_async module ------------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.retry_async - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.policies.universal module ---------------------------------------------- - -.. automodule:: azure.core.pipeline.policies.universal - :members: - :undoc-members: - :show-inheritance: - - Module contents --------------- diff --git a/doc/sphinx/ref/azure.core.pipeline.rst b/doc/sphinx/ref/azure.core.pipeline.rst index b4835c953641..6c9563708894 100644 --- a/doc/sphinx/ref/azure.core.pipeline.rst +++ b/doc/sphinx/ref/azure.core.pipeline.rst @@ -9,26 +9,6 @@ Subpackages azure.core.pipeline.policies azure.core.pipeline.transport -Submodules ----------- - -azure.core.pipeline.base module -------------------------------- - -.. automodule:: azure.core.pipeline.base - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.base\_async module --------------------------------------- - -.. automodule:: azure.core.pipeline.base_async - :members: - :undoc-members: - :show-inheritance: - - Module contents --------------- diff --git a/doc/sphinx/ref/azure.core.pipeline.transport.rst b/doc/sphinx/ref/azure.core.pipeline.transport.rst index ad2aa610836b..4a2c5a7f8101 100644 --- a/doc/sphinx/ref/azure.core.pipeline.transport.rst +++ b/doc/sphinx/ref/azure.core.pipeline.transport.rst @@ -1,58 +1,6 @@ azure.core.pipeline.transport package ===================================== -Submodules ----------- - -azure.core.pipeline.transport.aiohttp module --------------------------------------------- - -.. automodule:: azure.core.pipeline.transport.aiohttp - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.transport.base module ------------------------------------------ - -.. automodule:: azure.core.pipeline.transport.base - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.transport.base\_async module ------------------------------------------------- - -.. automodule:: azure.core.pipeline.transport.base_async - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.transport.requests\_asyncio module ------------------------------------------------------- - -.. automodule:: azure.core.pipeline.transport.requests_asyncio - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.transport.requests\_basic module ----------------------------------------------------- - -.. automodule:: azure.core.pipeline.transport.requests_basic - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline.transport.requests\_trio module ---------------------------------------------------- - -.. automodule:: azure.core.pipeline.transport.requests_trio - :members: - :undoc-members: - :show-inheritance: - - Module contents --------------- diff --git a/doc/sphinx/ref/azure.core.polling.rst b/doc/sphinx/ref/azure.core.polling.rst index 8ae3ff9c21fa..e15c3f4623ee 100644 --- a/doc/sphinx/ref/azure.core.polling.rst +++ b/doc/sphinx/ref/azure.core.polling.rst @@ -1,26 +1,6 @@ azure.core.polling package ========================== -Submodules ----------- - -azure.core.polling.async\_poller module ---------------------------------------- - -.. automodule:: azure.core.polling.async_poller - :members: - :undoc-members: - :show-inheritance: - -azure.core.polling.poller module --------------------------------- - -.. automodule:: azure.core.polling.poller - :members: - :undoc-members: - :show-inheritance: - - Module contents --------------- diff --git a/doc/sphinx/ref/azure.core.rst b/doc/sphinx/ref/azure.core.rst index e1bd41af4b25..80d087b61c75 100644 --- a/doc/sphinx/ref/azure.core.rst +++ b/doc/sphinx/ref/azure.core.rst @@ -21,22 +21,6 @@ azure.core.async\_paging module :undoc-members: :show-inheritance: -azure.core.common module ------------------------- - -.. automodule:: azure.core.common - :members: - :undoc-members: - :show-inheritance: - -azure.core.configuration module -------------------------------- - -.. automodule:: azure.core.configuration - :members: - :undoc-members: - :show-inheritance: - azure.core.credentials module ----------------------------- @@ -53,14 +37,6 @@ azure.core.exceptions module :undoc-members: :show-inheritance: -azure.core.match\_conditions module ------------------------------------ - -.. automodule:: azure.core.match_conditions - :members: - :undoc-members: - :show-inheritance: - azure.core.paging module ------------------------ @@ -69,22 +45,6 @@ azure.core.paging module :undoc-members: :show-inheritance: -azure.core.pipeline\_client module ----------------------------------- - -.. automodule:: azure.core.pipeline_client - :members: - :undoc-members: - :show-inheritance: - -azure.core.pipeline\_client\_async module ------------------------------------------ - -.. automodule:: azure.core.pipeline_client_async - :members: - :undoc-members: - :show-inheritance: - azure.core.settings module -------------------------- @@ -93,14 +53,6 @@ azure.core.settings module :undoc-members: :show-inheritance: -azure.core.version module -------------------------- - -.. automodule:: azure.core.version - :members: - :undoc-members: - :show-inheritance: - Module contents --------------- diff --git a/doc/sphinx/ref/azure.core.tracing.rst b/doc/sphinx/ref/azure.core.tracing.rst index 9f3dc0e05876..d784e98ec760 100644 --- a/doc/sphinx/ref/azure.core.tracing.rst +++ b/doc/sphinx/ref/azure.core.tracing.rst @@ -1,18 +1,9 @@ azure.core.tracing package ========================== - Submodules ---------- -azure.core.tracing.abstract\_span module ----------------------------------------- - -.. automodule:: azure.core.tracing.abstract_span - :members: - :undoc-members: - :show-inheritance: - azure.core.tracing.common module -------------------------------- diff --git a/sdk/core/azure-core/README.md b/sdk/core/azure-core/README.md index 100580d4ec6d..8ad86d77c16f 100644 --- a/sdk/core/azure-core/README.md +++ b/sdk/core/azure-core/README.md @@ -14,7 +14,8 @@ The Python implementation of the pipeline has some mechanisms specific to Python When constructing an SDK, a developer may consume the pipeline like so: ```python -from azure.core import Configuration, Pipeline +from azure.core.configuration import Configuration +from azure.core.pipeline import Pipeline from azure.core.transport import RequestsTransport, HttpRequest from azure.core.pipeline.policies import ( UserAgentPolicy, diff --git a/sdk/core/azure-core/azure/core/common.py b/sdk/core/azure-core/azure/core/common.py deleted file mode 100644 index e3b990ff98d2..000000000000 --- a/sdk/core/azure-core/azure/core/common.py +++ /dev/null @@ -1,32 +0,0 @@ -# -------------------------------------------------------------------------- -# -# Copyright (c) Microsoft Corporation. All rights reserved. -# -# The MIT License (MIT) -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the ""Software""), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# -------------------------------------------------------------------------- -from typing import Union, Optional -from azure.core.exceptions import ( - ServiceRequestError, - ServiceResponseError -) - -ErrorType = Optional[Union[ServiceRequestError, ServiceResponseError]] diff --git a/sdk/core/azure-core/examples/test_example_async.py b/sdk/core/azure-core/examples/test_example_async.py index 9453b5ba14ff..f61c5f3ac49a 100644 --- a/sdk/core/azure-core/examples/test_example_async.py +++ b/sdk/core/azure-core/examples/test_example_async.py @@ -117,7 +117,8 @@ async def test_example_async_pipeline_client(): url = "https://bing.com" # [START build_async_pipeline_client] - from azure.core import Configuration, AsyncPipelineClient + from azure.core import AsyncPipelineClient + from azure.core.configuration import Configuration from azure.core.pipeline.policies import AsyncRedirectPolicy, UserAgentPolicy from azure.core.pipeline.transport import HttpRequest diff --git a/sdk/core/azure-core/examples/test_example_config.py b/sdk/core/azure-core/examples/test_example_config.py index c06f13761746..e71c99896c6a 100644 --- a/sdk/core/azure-core/examples/test_example_config.py +++ b/sdk/core/azure-core/examples/test_example_config.py @@ -26,7 +26,7 @@ # [START configuration] -from azure.core import Configuration +from azure.core.configuration import Configuration from azure.core.pipeline import Pipeline from azure.core.pipeline.transport import RequestsTransport from azure.core.pipeline.policies import ( diff --git a/sdk/core/azure-core/examples/test_example_sansio.py b/sdk/core/azure-core/examples/test_example_sansio.py index a37ff78b7975..b1e4ac011798 100644 --- a/sdk/core/azure-core/examples/test_example_sansio.py +++ b/sdk/core/azure-core/examples/test_example_sansio.py @@ -27,7 +27,7 @@ import sys from azure.core.configuration import Configuration from azure.core.pipeline.transport import HttpRequest -from azure.core.pipeline_client import PipelineClient +from azure.core import PipelineClient from azure.core.pipeline.policies import RedirectPolicy from azure.core.pipeline.policies import UserAgentPolicy from azure.core.pipeline.policies import SansIOHTTPPolicy diff --git a/sdk/core/azure-core/examples/test_example_sync.py b/sdk/core/azure-core/examples/test_example_sync.py index 240083d1da02..777ebf502d59 100644 --- a/sdk/core/azure-core/examples/test_example_sync.py +++ b/sdk/core/azure-core/examples/test_example_sync.py @@ -26,7 +26,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import Pipeline -from azure.core.pipeline_client import PipelineClient +from azure.core import PipelineClient from azure.core.pipeline.transport import HttpRequest from azure.core.pipeline.policies import ( UserAgentPolicy, @@ -77,7 +77,8 @@ def test_example_pipeline(): def test_example_pipeline_client(): url = "https://bing.com" # [START build_pipeline_client] - from azure.core import Configuration, PipelineClient + from azure.core import PipelineClient + from azure.core.configuration import Configuration from azure.core.pipeline.policies import RedirectPolicy, UserAgentPolicy # example configuration with some policies From f740459b41a733d54accb90028111d7c5d8a1517 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 4 Oct 2019 18:39:12 -0700 Subject: [PATCH 07/19] update app config doc (#7618) * update app config doc * move match_condition to internal --- doc/sphinx/ref/azure.appconfiguration.rst | 20 ++++++------------- .../aio/azure_configuration_client_async.py | 3 +-- .../azure_appconfiguration_client.py | 3 +-- sdk/core/azure-core/azure/core/__init__.py | 2 +- ...tch_conditions.py => _match_conditions.py} | 0 5 files changed, 9 insertions(+), 19 deletions(-) rename sdk/core/azure-core/azure/core/{match_conditions.py => _match_conditions.py} (100%) diff --git a/doc/sphinx/ref/azure.appconfiguration.rst b/doc/sphinx/ref/azure.appconfiguration.rst index b8a68fbe47c9..cab5f5529570 100644 --- a/doc/sphinx/ref/azure.appconfiguration.rst +++ b/doc/sphinx/ref/azure.appconfiguration.rst @@ -19,26 +19,18 @@ azure.appconfiguration.azure\_appconfiguration\_client module :undoc-members: :show-inheritance: -azure.appconfiguration.azure\_appconfiguration\_requests module ---------------------------------------------------------------- +azure.appconfiguration.azure\_appconfiguration\_credential module +----------------------------------------------------------------- -.. automodule:: azure.appconfiguration.azure_appconfiguration_requests +.. automodule:: azure.appconfiguration.azure_appconfiguration_credential :members: :undoc-members: :show-inheritance: -azure.appconfiguration.utils module ------------------------------------ - -.. automodule:: azure.appconfiguration.utils - :members: - :undoc-members: - :show-inheritance: - -azure.appconfiguration.version module -------------------------------------- +azure.appconfiguration.azure\_appconfiguration\_requests module +--------------------------------------------------------------- -.. automodule:: azure.appconfiguration.version +.. automodule:: azure.appconfiguration.azure_appconfiguration_requests :members: :undoc-members: :show-inheritance: diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/azure_configuration_client_async.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/azure_configuration_client_async.py index ba62ee3083f3..5b4b4807a20d 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/azure_configuration_client_async.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/azure_configuration_client_async.py @@ -6,10 +6,9 @@ from requests.structures import CaseInsensitiveDict from azure.core import MatchConditions from azure.core.pipeline import AsyncPipeline -from azure.core.pipeline.policies import UserAgentPolicy +from azure.core.pipeline.policies import UserAgentPolicy, DistributedTracingPolicy from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async -from azure.core.pipeline.policies.distributed_tracing import DistributedTracingPolicy from azure.core.pipeline.transport import AsyncioRequestsTransport from azure.core.exceptions import ( ResourceExistsError, diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/azure_appconfiguration_client.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/azure_appconfiguration_client.py index aa1cfe2af53e..8fbdf8cf3288 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/azure_appconfiguration_client.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/azure_appconfiguration_client.py @@ -6,8 +6,7 @@ from requests.structures import CaseInsensitiveDict from azure.core import MatchConditions from azure.core.pipeline import Pipeline -from azure.core.pipeline.policies import UserAgentPolicy -from azure.core.pipeline.policies.distributed_tracing import DistributedTracingPolicy +from azure.core.pipeline.policies import UserAgentPolicy, DistributedTracingPolicy from azure.core.tracing.decorator import distributed_trace from azure.core.pipeline.transport import RequestsTransport from azure.core.exceptions import ( diff --git a/sdk/core/azure-core/azure/core/__init__.py b/sdk/core/azure-core/azure/core/__init__.py index 6c7f2829123e..f1dcf57b8259 100644 --- a/sdk/core/azure-core/azure/core/__init__.py +++ b/sdk/core/azure-core/azure/core/__init__.py @@ -31,7 +31,7 @@ from .pipeline_client import PipelineClient from .pipeline.transport import HttpRequest from .exceptions import HttpResponseError -from .match_conditions import MatchConditions +from ._match_conditions import MatchConditions __all__ = [ diff --git a/sdk/core/azure-core/azure/core/match_conditions.py b/sdk/core/azure-core/azure/core/_match_conditions.py similarity index 100% rename from sdk/core/azure-core/azure/core/match_conditions.py rename to sdk/core/azure-core/azure/core/_match_conditions.py From eaba336e1d7730867c0ea5b87f6ef519b18b2d4e Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Sat, 5 Oct 2019 10:54:27 +0800 Subject: [PATCH 08/19] [AutoPR] netapp/resource-manager (#7092) * Generated from 34d744550227bee7b380604d38fc1de6c9af6397 (#7089) Update netapp.json * changelog for netapp * ANF-374 update for R5 RP version 2019-07-01 API * ANF-374 update for R5 RP version 2019-07-01 API (#7460) * ANF-374 update for R5 RP version 2019-07-01 API * ANF-374 update for R5 RP version 2019-07-01 API * ANF-374 update for R5 RP version 2019-07-01 API --- sdk/netapp/azure-mgmt-netapp/HISTORY.rst | 14 + .../azure/mgmt/netapp/__init__.py | 7 +- .../_azure_net_app_files_management_client.py | 77 ++ .../azure/mgmt/netapp/_configuration.py | 50 + .../azure/mgmt/netapp/models/__init__.py | 120 +-- ..._net_app_files_management_client_enums.py} | 0 .../azure/mgmt/netapp/models/_models.py | 921 ++++++++++++++++++ .../azure/mgmt/netapp/models/_models_py3.py | 921 ++++++++++++++++++ .../azure/mgmt/netapp/models/_paged_models.py | 92 ++ .../mgmt/netapp/models/active_directory.py | 60 -- .../netapp/models/active_directory_py3.py | 60 -- .../azure/mgmt/netapp/models/capacity_pool.py | 80 -- .../mgmt/netapp/models/capacity_pool_paged.py | 27 - .../mgmt/netapp/models/capacity_pool_patch.py | 66 -- .../netapp/models/capacity_pool_patch_py3.py | 66 -- .../mgmt/netapp/models/capacity_pool_py3.py | 80 -- .../azure/mgmt/netapp/models/dimension.py | 32 - .../azure/mgmt/netapp/models/dimension_py3.py | 32 - .../mgmt/netapp/models/export_policy_rule.py | 53 - .../netapp/models/export_policy_rule_py3.py | 53 - .../netapp/models/metric_specification.py | 63 -- .../netapp/models/metric_specification_py3.py | 63 -- .../azure/mgmt/netapp/models/mount_target.py | 102 -- .../mgmt/netapp/models/mount_target_paged.py | 27 - .../mgmt/netapp/models/mount_target_py3.py | 102 -- .../mgmt/netapp/models/net_app_account.py | 65 -- .../netapp/models/net_app_account_paged.py | 27 - .../netapp/models/net_app_account_patch.py | 62 -- .../models/net_app_account_patch_py3.py | 62 -- .../mgmt/netapp/models/net_app_account_py3.py | 65 -- .../azure/mgmt/netapp/models/operation.py | 42 - .../mgmt/netapp/models/operation_display.py | 40 - .../netapp/models/operation_display_py3.py | 40 - .../mgmt/netapp/models/operation_paged.py | 27 - .../azure/mgmt/netapp/models/operation_py3.py | 42 - .../models/resource_name_availability.py | 45 - .../models/resource_name_availability_py3.py | 45 - .../resource_name_availability_request.py | 48 - .../resource_name_availability_request_py3.py | 48 - .../netapp/models/service_specification.py | 29 - .../models/service_specification_py3.py | 29 - .../azure/mgmt/netapp/models/snapshot.py | 77 -- .../mgmt/netapp/models/snapshot_paged.py | 27 - .../mgmt/netapp/models/snapshot_patch.py | 28 - .../mgmt/netapp/models/snapshot_patch_py3.py | 28 - .../azure/mgmt/netapp/models/snapshot_py3.py | 77 -- .../azure/mgmt/netapp/models/volume.py | 117 --- .../azure/mgmt/netapp/models/volume_paged.py | 27 - .../azure/mgmt/netapp/models/volume_patch.py | 72 -- .../volume_patch_properties_export_policy.py | 30 - ...lume_patch_properties_export_policy_py3.py | 30 - .../mgmt/netapp/models/volume_patch_py3.py | 72 -- .../models/volume_properties_export_policy.py | 30 - .../volume_properties_export_policy_py3.py | 30 - .../azure/mgmt/netapp/models/volume_py3.py | 117 --- .../azure/mgmt/netapp/operations/__init__.py | 14 +- ..._operations.py => _accounts_operations.py} | 22 +- ...app_files_management_client_operations.py} | 101 +- ...ations.py => _mount_targets_operations.py} | 20 +- .../{operations.py => _operations.py} | 20 +- ...ols_operations.py => _pools_operations.py} | 22 +- ...operations.py => _snapshots_operations.py} | 22 +- ...s_operations.py => _volumes_operations.py} | 22 +- .../azure/mgmt/netapp/version.py | 2 +- ...st_account.test_create_delete_account.yaml | 117 +-- ...test_account.test_get_account_by_name.yaml | 99 +- .../test_account.test_list_accounts.yaml | 182 ++-- .../test_account.test_patch_account.yaml | 103 +- ...st_mounttarget.test_list_mount_target.yaml | 362 ++++--- .../test_pool.test_create_delete_pool.yaml | 198 ++-- .../test_pool.test_get_pool_by_name.yaml | 190 ++-- .../recordings/test_pool.test_list_pools.yaml | 277 +++--- .../recordings/test_pool.test_patch_pool.yaml | 194 ++-- .../test_pool.test_update_pool.yaml | 296 ++++-- ..._snapshot.test_create_delete_snapshot.yaml | 619 +++++++----- ...st_snapshot.test_get_snapshot_by_name.yaml | 681 +++++++++---- .../test_snapshot.test_list_snapshots.yaml | 717 +++++++++----- ...volume.test_create_delete_list_volume.yaml | 413 ++++---- .../test_volume.test_get_volume_by_name.yaml | 440 +++++---- .../test_volume.test_list_volumes.yaml | 497 +++++----- .../test_volume.test_patch_volume.yaml | 404 ++++---- .../test_volume.test_update_volume.yaml | 454 +++++---- sdk/netapp/azure-mgmt-netapp/tests/setup.py | 6 +- .../azure-mgmt-netapp/tests/test_pool.py | 14 +- .../azure-mgmt-netapp/tests/test_snapshot.py | 2 +- .../azure-mgmt-netapp/tests/test_volume.py | 22 +- 86 files changed, 5796 insertions(+), 5382 deletions(-) create mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py create mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/{azure_net_app_files_management_client_enums.py => _azure_net_app_files_management_client_enums.py} (100%) create mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py create mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py create mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_paged_models.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_paged.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_paged.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_paged.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_paged.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_paged.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_paged.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy_py3.py delete mode 100644 sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_py3.py rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/{accounts_operations.py => _accounts_operations.py} (97%) rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/{azure_net_app_files_management_client.py => operations/_azure_net_app_files_management_client_operations.py} (64%) rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/{mount_targets_operations.py => _mount_targets_operations.py} (91%) rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/{operations.py => _operations.py} (88%) rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/{pools_operations.py => _pools_operations.py} (97%) rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/{snapshots_operations.py => _snapshots_operations.py} (98%) rename sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/{volumes_operations.py => _volumes_operations.py} (97%) diff --git a/sdk/netapp/azure-mgmt-netapp/HISTORY.rst b/sdk/netapp/azure-mgmt-netapp/HISTORY.rst index a5809c56d043..191e879a0b25 100644 --- a/sdk/netapp/azure-mgmt-netapp/HISTORY.rst +++ b/sdk/netapp/azure-mgmt-netapp/HISTORY.rst @@ -3,6 +3,20 @@ Release History =============== +0.6.0 (2019-09-26) +++++++++++++++++++ + +**Features** + +- Model Snapshot has a new parameter created +- Model ExportPolicyRule has a new parameter nfsv41 +- Added operation group AzureNetAppFilesManagementClientOperationsMixin + +**Breaking changes** + +- Model Snapshot no longer has parameter creation_date +- Model ExportPolicyRule no longer has parameter nfsv4 + 0.5.0 (2019-07-03) ++++++++++++++++++ diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/__init__.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/__init__.py index 0f7bd5bf8436..391b8a6dbd70 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/__init__.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/__init__.py @@ -9,10 +9,11 @@ # regenerated. # -------------------------------------------------------------------------- -from .azure_net_app_files_management_client import AzureNetAppFilesManagementClient -from .version import VERSION +from ._configuration import AzureNetAppFilesManagementClientConfiguration +from ._azure_net_app_files_management_client import AzureNetAppFilesManagementClient +__all__ = ['AzureNetAppFilesManagementClient', 'AzureNetAppFilesManagementClientConfiguration'] -__all__ = ['AzureNetAppFilesManagementClient'] +from .version import VERSION __version__ = VERSION diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py new file mode 100644 index 000000000000..b9c08cf2d8cf --- /dev/null +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_azure_net_app_files_management_client.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import SDKClient +from msrest import Serializer, Deserializer + +from ._configuration import AzureNetAppFilesManagementClientConfiguration +from .operations import AzureNetAppFilesManagementClientOperationsMixin +from .operations import Operations +from .operations import AccountsOperations +from .operations import PoolsOperations +from .operations import VolumesOperations +from .operations import MountTargetsOperations +from .operations import SnapshotsOperations +from . import models + + +class AzureNetAppFilesManagementClient(AzureNetAppFilesManagementClientOperationsMixin, SDKClient): + """Microsoft NetApp Azure Resource Provider specification + + :ivar config: Configuration for client. + :vartype config: AzureNetAppFilesManagementClientConfiguration + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.netapp.operations.Operations + :ivar accounts: Accounts operations + :vartype accounts: azure.mgmt.netapp.operations.AccountsOperations + :ivar pools: Pools operations + :vartype pools: azure.mgmt.netapp.operations.PoolsOperations + :ivar volumes: Volumes operations + :vartype volumes: azure.mgmt.netapp.operations.VolumesOperations + :ivar mount_targets: MountTargets operations + :vartype mount_targets: azure.mgmt.netapp.operations.MountTargetsOperations + :ivar snapshots: Snapshots operations + :vartype snapshots: azure.mgmt.netapp.operations.SnapshotsOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + self.config = AzureNetAppFilesManagementClientConfiguration(credentials, subscription_id, base_url) + super(AzureNetAppFilesManagementClient, self).__init__(self.config.credentials, self.config) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self.api_version = '2019-07-01' + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self.config, self._serialize, self._deserialize) + self.accounts = AccountsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.pools = PoolsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.volumes = VolumesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.mount_targets = MountTargetsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.snapshots = SnapshotsOperations( + self._client, self.config, self._serialize, self._deserialize) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py new file mode 100644 index 000000000000..f15a29999cc5 --- /dev/null +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- +from msrestazure import AzureConfiguration + +from .version import VERSION + + +class AzureNetAppFilesManagementClientConfiguration(AzureConfiguration): + """Configuration for AzureNetAppFilesManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(AzureNetAppFilesManagementClientConfiguration, self).__init__(base_url) + + # Starting Autorest.Python 4.0.64, make connection pool activated by default + self.keep_alive = True + + self.add_user_agent('azure-mgmt-netapp/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py index 3806d141348a..13ad7cf4d730 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py @@ -10,80 +10,80 @@ # -------------------------------------------------------------------------- try: - from .operation_display_py3 import OperationDisplay - from .dimension_py3 import Dimension - from .metric_specification_py3 import MetricSpecification - from .service_specification_py3 import ServiceSpecification - from .operation_py3 import Operation - from .resource_name_availability_py3 import ResourceNameAvailability - from .resource_name_availability_request_py3 import ResourceNameAvailabilityRequest - from .active_directory_py3 import ActiveDirectory - from .net_app_account_py3 import NetAppAccount - from .net_app_account_patch_py3 import NetAppAccountPatch - from .capacity_pool_py3 import CapacityPool - from .capacity_pool_patch_py3 import CapacityPoolPatch - from .export_policy_rule_py3 import ExportPolicyRule - from .volume_properties_export_policy_py3 import VolumePropertiesExportPolicy - from .volume_py3 import Volume - from .volume_patch_properties_export_policy_py3 import VolumePatchPropertiesExportPolicy - from .volume_patch_py3 import VolumePatch - from .mount_target_py3 import MountTarget - from .snapshot_py3 import Snapshot - from .snapshot_patch_py3 import SnapshotPatch + from ._models_py3 import ActiveDirectory + from ._models_py3 import CapacityPool + from ._models_py3 import CapacityPoolPatch + from ._models_py3 import Dimension + from ._models_py3 import ExportPolicyRule + from ._models_py3 import MetricSpecification + from ._models_py3 import MountTarget + from ._models_py3 import NetAppAccount + from ._models_py3 import NetAppAccountPatch + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import ResourceNameAvailability + from ._models_py3 import ResourceNameAvailabilityRequest + from ._models_py3 import ServiceSpecification + from ._models_py3 import Snapshot + from ._models_py3 import SnapshotPatch + from ._models_py3 import Volume + from ._models_py3 import VolumePatch + from ._models_py3 import VolumePatchPropertiesExportPolicy + from ._models_py3 import VolumePropertiesExportPolicy except (SyntaxError, ImportError): - from .operation_display import OperationDisplay - from .dimension import Dimension - from .metric_specification import MetricSpecification - from .service_specification import ServiceSpecification - from .operation import Operation - from .resource_name_availability import ResourceNameAvailability - from .resource_name_availability_request import ResourceNameAvailabilityRequest - from .active_directory import ActiveDirectory - from .net_app_account import NetAppAccount - from .net_app_account_patch import NetAppAccountPatch - from .capacity_pool import CapacityPool - from .capacity_pool_patch import CapacityPoolPatch - from .export_policy_rule import ExportPolicyRule - from .volume_properties_export_policy import VolumePropertiesExportPolicy - from .volume import Volume - from .volume_patch_properties_export_policy import VolumePatchPropertiesExportPolicy - from .volume_patch import VolumePatch - from .mount_target import MountTarget - from .snapshot import Snapshot - from .snapshot_patch import SnapshotPatch -from .operation_paged import OperationPaged -from .net_app_account_paged import NetAppAccountPaged -from .capacity_pool_paged import CapacityPoolPaged -from .volume_paged import VolumePaged -from .mount_target_paged import MountTargetPaged -from .snapshot_paged import SnapshotPaged -from .azure_net_app_files_management_client_enums import ( + from ._models import ActiveDirectory + from ._models import CapacityPool + from ._models import CapacityPoolPatch + from ._models import Dimension + from ._models import ExportPolicyRule + from ._models import MetricSpecification + from ._models import MountTarget + from ._models import NetAppAccount + from ._models import NetAppAccountPatch + from ._models import Operation + from ._models import OperationDisplay + from ._models import ResourceNameAvailability + from ._models import ResourceNameAvailabilityRequest + from ._models import ServiceSpecification + from ._models import Snapshot + from ._models import SnapshotPatch + from ._models import Volume + from ._models import VolumePatch + from ._models import VolumePatchPropertiesExportPolicy + from ._models import VolumePropertiesExportPolicy +from ._paged_models import CapacityPoolPaged +from ._paged_models import MountTargetPaged +from ._paged_models import NetAppAccountPaged +from ._paged_models import OperationPaged +from ._paged_models import SnapshotPaged +from ._paged_models import VolumePaged +from ._azure_net_app_files_management_client_enums import ( InAvailabilityReasonType, CheckNameResourceTypes, ServiceLevel, ) __all__ = [ - 'OperationDisplay', - 'Dimension', - 'MetricSpecification', - 'ServiceSpecification', - 'Operation', - 'ResourceNameAvailability', - 'ResourceNameAvailabilityRequest', 'ActiveDirectory', - 'NetAppAccount', - 'NetAppAccountPatch', 'CapacityPool', 'CapacityPoolPatch', + 'Dimension', 'ExportPolicyRule', - 'VolumePropertiesExportPolicy', - 'Volume', - 'VolumePatchPropertiesExportPolicy', - 'VolumePatch', + 'MetricSpecification', 'MountTarget', + 'NetAppAccount', + 'NetAppAccountPatch', + 'Operation', + 'OperationDisplay', + 'ResourceNameAvailability', + 'ResourceNameAvailabilityRequest', + 'ServiceSpecification', 'Snapshot', 'SnapshotPatch', + 'Volume', + 'VolumePatch', + 'VolumePatchPropertiesExportPolicy', + 'VolumePropertiesExportPolicy', 'OperationPaged', 'NetAppAccountPaged', 'CapacityPoolPaged', diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/azure_net_app_files_management_client_enums.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_azure_net_app_files_management_client_enums.py similarity index 100% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/azure_net_app_files_management_client_enums.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_azure_net_app_files_management_client_enums.py 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 new file mode 100644 index 000000000000..ff26baf9ab08 --- /dev/null +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py @@ -0,0 +1,921 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ActiveDirectory(Model): + """Active Directory. + + :param active_directory_id: Id of the Active Directory + :type active_directory_id: str + :param username: Username of Active Directory domain administrator + :type username: str + :param password: Plain text password of Active Directory domain + administrator + :type password: str + :param domain: Name of the Active Directory domain + :type domain: str + :param dns: Comma separated list of DNS server IP addresses for the Active + Directory domain + :type dns: str + :param status: Status of the Active Directory + :type status: str + :param smb_server_name: NetBIOS name of the SMB server. This name will be + registered as a computer account in the AD and used to mount volumes + :type smb_server_name: str + :param organizational_unit: The Organizational Unit (OU) within the + Windows Active Directory + :type organizational_unit: str + """ + + _attribute_map = { + 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'domain': {'key': 'domain', 'type': 'str'}, + 'dns': {'key': 'dns', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'smb_server_name': {'key': 'smbServerName', 'type': 'str'}, + 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ActiveDirectory, self).__init__(**kwargs) + self.active_directory_id = kwargs.get('active_directory_id', None) + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + self.domain = kwargs.get('domain', None) + self.dns = kwargs.get('dns', None) + self.status = kwargs.get('status', None) + self.smb_server_name = kwargs.get('smb_server_name', None) + self.organizational_unit = kwargs.get('organizational_unit', None) + + +class CapacityPool(Model): + """Capacity pool resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar pool_id: poolId. UUID v4 used to identify the Pool + :vartype pool_id: str + :param size: Required. size. Provisioned size of the pool (in bytes). + Allowed values are in 4TiB chunks (value must be multiply of + 4398046511104). + :type size: long + :param service_level: Required. serviceLevel. The service level of the + file system. Possible values include: 'Standard', 'Premium', 'Ultra'. + Default value: "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'pool_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}$'}, + 'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104}, + 'service_level': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CapacityPool, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.pool_id = None + self.size = kwargs.get('size', None) + self.service_level = kwargs.get('service_level', "Premium") + self.provisioning_state = None + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CapacityPoolPatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.size = kwargs.get('size', 4398046511104) + self.service_level = kwargs.get('service_level', "Premium") + + +class CloudError(Model): + """CloudError. + """ + + _attribute_map = { + } + + +class Dimension(Model): + """Dimension of blobs, possibly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Dimension, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + + +class ExportPolicyRule(Model): + """Volume Export Policy Rule. + + :param rule_index: Order index + :type rule_index: int + :param unix_read_only: Read only access + :type unix_read_only: bool + :param unix_read_write: Read and write access + :type unix_read_write: bool + :param cifs: Allows CIFS protocol + :type cifs: bool + :param nfsv3: Allows NFSv3 protocol + :type nfsv3: bool + :param nfsv41: Allows NFSv4.1 protocol + :type nfsv41: bool + :param allowed_clients: Client ingress specification as comma separated + string with IPv4 CIDRs, IPv4 host addresses and host names + :type allowed_clients: str + """ + + _attribute_map = { + 'rule_index': {'key': 'ruleIndex', 'type': 'int'}, + 'unix_read_only': {'key': 'unixReadOnly', 'type': 'bool'}, + 'unix_read_write': {'key': 'unixReadWrite', 'type': 'bool'}, + 'cifs': {'key': 'cifs', 'type': 'bool'}, + 'nfsv3': {'key': 'nfsv3', 'type': 'bool'}, + 'nfsv41': {'key': 'nfsv41', 'type': 'bool'}, + 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ExportPolicyRule, self).__init__(**kwargs) + self.rule_index = kwargs.get('rule_index', None) + self.unix_read_only = kwargs.get('unix_read_only', None) + self.unix_read_write = kwargs.get('unix_read_write', None) + self.cifs = kwargs.get('cifs', None) + self.nfsv3 = kwargs.get('nfsv3', None) + self.nfsv41 = kwargs.get('nfsv41', None) + self.allowed_clients = kwargs.get('allowed_clients', None) + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.netapp.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MetricSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.dimensions = kwargs.get('dimensions', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) + + +class MountTarget(Model): + """Mount Target. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :param tags: Resource tags + :type tags: object + :ivar mount_target_id: mountTargetId. UUID v4 used to identify the + MountTarget + :vartype mount_target_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the MountTarget + :type file_system_id: str + :ivar ip_address: ipAddress. The mount target's IPv4 address + :vartype ip_address: str + :param subnet: subnet. The subnet + :type subnet: str + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: endIp. The end of IPv4 address range to use when creating a + new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str + :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified + Domain Name, FQDN + :type smb_server_fqdn: str + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'mount_target_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}$'}, + 'file_system_id': {'required': 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}$'}, + 'ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'str'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MountTarget, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.tags = kwargs.get('tags', None) + self.mount_target_id = None + self.file_system_id = kwargs.get('file_system_id', None) + self.ip_address = None + self.subnet = kwargs.get('subnet', None) + self.start_ip = kwargs.get('start_ip', None) + self.end_ip = kwargs.get('end_ip', None) + self.gateway = kwargs.get('gateway', None) + self.netmask = kwargs.get('netmask', None) + self.smb_server_fqdn = kwargs.get('smb_server_fqdn', None) + self.provisioning_state = None + + +class NetAppAccount(Model): + """NetApp account resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, + } + + def __init__(self, **kwargs): + super(NetAppAccount, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.provisioning_state = None + self.active_directories = kwargs.get('active_directories', None) + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, + } + + def __init__(self, **kwargs): + super(NetAppAccountPatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.provisioning_state = None + self.active_directories = kwargs.get('active_directories', None) + + +class Operation(Model): + """Microsoft.NetApp REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.netapp.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.netapp.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.service_specification = kwargs.get('service_specification', None) + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft NetApp. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + :param description: Operation description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class ResourceNameAvailability(Model): + """Information regarding availability of a resource name. + + :param is_available: true indicates name is valid and + available. false indicates the name is invalid, unavailable, + or both. + :type is_available: bool + :param reason: Invalid indicates the name provided does not + match Azure App Service naming requirements. AlreadyExists + indicates that the name is already in use and is therefore unavailable. + Possible values include: 'Invalid', 'AlreadyExists' + :type reason: str or ~azure.mgmt.netapp.models.InAvailabilityReasonType + :param message: If reason == invalid, provide the user with the reason why + the given name is invalid, and provide the resource naming requirements so + that the user can select a valid name. If reason == AlreadyExists, explain + that resource name is already in use, and direct them to select a + different name. + :type message: str + """ + + _attribute_map = { + 'is_available': {'key': 'isAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ResourceNameAvailability, self).__init__(**kwargs) + self.is_available = kwargs.get('is_available', None) + self.reason = kwargs.get('reason', None) + self.message = kwargs.get('message', None) + + +class ResourceNameAvailabilityRequest(Model): + """Resource name availability request content. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Resource name to verify. + :type name: str + :param type: Required. Resource type used for verification. Possible + values include: 'Microsoft.NetApp/netAppAccounts', + 'Microsoft.NetApp/netAppAccounts/capacityPools', + 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', + 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots' + :type type: str or ~azure.mgmt.netapp.models.CheckNameResourceTypes + :param resource_group: Required. Resource group name. + :type resource_group: str + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True}, + 'resource_group': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_group': {'key': 'resourceGroup', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ResourceNameAvailabilityRequest, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) + self.resource_group = kwargs.get('resource_group', None) + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.netapp.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, **kwargs): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) + + +class Snapshot(Model): + """Snapshot of a Volume. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot + :vartype snapshot_id: str + :param file_system_id: fileSystemId. UUID v4 used to identify the + FileSystem + :type file_system_id: str + :ivar created: name. The creation date of the snapshot + :vartype created: datetime + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'snapshot_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}$'}, + 'file_system_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}$'}, + 'created': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'created': {'key': 'properties.created', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Snapshot, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.snapshot_id = None + self.file_system_id = kwargs.get('file_system_id', None) + self.created = None + self.provisioning_state = None + + +class SnapshotPatch(Model): + """Snapshot patch. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(SnapshotPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + + +class Volume(Model): + """Volume resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. + :vartype file_system_id: str + :param creation_token: Required. Creation Token or File Path. A unique + file path for the volume. Used when creating mount targets + :type creation_token: str + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: Required. usageThreshold. Maximum storage quota + allowed for a file system in bytes. This is a soft quota used for alerting + only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + Default value: 107374182400 . + :type usage_threshold: long + :param export_policy: exportPolicy. Set of export policy rules + :type export_policy: + ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy + :param protocol_types: protocolTypes. Set of protocol types + :type protocol_types: list[str] + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param snapshot_id: Snapshot ID. UUID v4 or resource identifier used to + identify the Snapshot. + :type snapshot_id: str + :ivar baremetal_tenant_id: Baremetal Tenant ID. Unique Baremetal Tenant + Identifier. + :vartype baremetal_tenant_id: str + :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: mountTargets. List of mount targets + :type mount_targets: object + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + '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}$'}, + 'creation_token': {'required': True}, + 'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400}, + 'provisioning_state': {'readonly': True}, + 'snapshot_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, '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}$'}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePropertiesExportPolicy'}, + 'protocol_types': {'key': 'properties.protocolTypes', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'baremetal_tenant_id': {'key': 'properties.baremetalTenantId', 'type': 'str'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'mount_targets': {'key': 'properties.mountTargets', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(Volume, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.file_system_id = None + self.creation_token = kwargs.get('creation_token', None) + self.service_level = kwargs.get('service_level', "Premium") + self.usage_threshold = kwargs.get('usage_threshold', 107374182400) + self.export_policy = kwargs.get('export_policy', None) + self.protocol_types = kwargs.get('protocol_types', None) + self.provisioning_state = None + self.snapshot_id = kwargs.get('snapshot_id', None) + self.baremetal_tenant_id = None + self.subnet_id = kwargs.get('subnet_id', None) + self.mount_targets = kwargs.get('mount_targets', None) + + +class VolumePatch(Model): + """Volume patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + Default value: 107374182400 . + :type usage_threshold: long + :param export_policy: exportPolicy. Set of export policy rules + :type export_policy: + ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePatchPropertiesExportPolicy'}, + } + + def __init__(self, **kwargs): + super(VolumePatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.service_level = kwargs.get('service_level', "Premium") + self.usage_threshold = kwargs.get('usage_threshold', 107374182400) + self.export_policy = kwargs.get('export_policy', None) + + +class VolumePatchPropertiesExportPolicy(Model): + """exportPolicy. + + Set of export policy rules. + + :param rules: Export policy rule. Export policy rule + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] + """ + + _attribute_map = { + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, + } + + def __init__(self, **kwargs): + super(VolumePatchPropertiesExportPolicy, self).__init__(**kwargs) + self.rules = kwargs.get('rules', None) + + +class VolumePropertiesExportPolicy(Model): + """exportPolicy. + + Set of export policy rules. + + :param rules: Export policy rule. Export policy rule + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] + """ + + _attribute_map = { + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, + } + + def __init__(self, **kwargs): + super(VolumePropertiesExportPolicy, self).__init__(**kwargs) + self.rules = kwargs.get('rules', None) 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 new file mode 100644 index 000000000000..b557ff5c7380 --- /dev/null +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py @@ -0,0 +1,921 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ActiveDirectory(Model): + """Active Directory. + + :param active_directory_id: Id of the Active Directory + :type active_directory_id: str + :param username: Username of Active Directory domain administrator + :type username: str + :param password: Plain text password of Active Directory domain + administrator + :type password: str + :param domain: Name of the Active Directory domain + :type domain: str + :param dns: Comma separated list of DNS server IP addresses for the Active + Directory domain + :type dns: str + :param status: Status of the Active Directory + :type status: str + :param smb_server_name: NetBIOS name of the SMB server. This name will be + registered as a computer account in the AD and used to mount volumes + :type smb_server_name: str + :param organizational_unit: The Organizational Unit (OU) within the + Windows Active Directory + :type organizational_unit: str + """ + + _attribute_map = { + 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'domain': {'key': 'domain', 'type': 'str'}, + 'dns': {'key': 'dns', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'smb_server_name': {'key': 'smbServerName', 'type': 'str'}, + 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, + } + + def __init__(self, *, active_directory_id: str=None, username: str=None, password: str=None, domain: str=None, dns: str=None, status: str=None, smb_server_name: str=None, organizational_unit: str=None, **kwargs) -> None: + super(ActiveDirectory, self).__init__(**kwargs) + self.active_directory_id = active_directory_id + self.username = username + self.password = password + self.domain = domain + self.dns = dns + self.status = status + self.smb_server_name = smb_server_name + self.organizational_unit = organizational_unit + + +class CapacityPool(Model): + """Capacity pool resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar pool_id: poolId. UUID v4 used to identify the Pool + :vartype pool_id: str + :param size: Required. size. Provisioned size of the pool (in bytes). + Allowed values are in 4TiB chunks (value must be multiply of + 4398046511104). + :type size: long + :param service_level: Required. serviceLevel. The service level of the + file system. Possible values include: 'Standard', 'Premium', 'Ultra'. + Default value: "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'pool_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}$'}, + 'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104}, + 'service_level': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, size: int, tags=None, service_level="Premium", **kwargs) -> None: + super(CapacityPool, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.pool_id = None + self.size = size + self.service_level = service_level + self.provisioning_state = None + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + } + + def __init__(self, *, location: str=None, tags=None, size: int=4398046511104, service_level="Premium", **kwargs) -> None: + super(CapacityPoolPatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.size = size + self.service_level = service_level + + +class CloudError(Model): + """CloudError. + """ + + _attribute_map = { + } + + +class Dimension(Model): + """Dimension of blobs, possibly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, **kwargs) -> None: + super(Dimension, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + + +class ExportPolicyRule(Model): + """Volume Export Policy Rule. + + :param rule_index: Order index + :type rule_index: int + :param unix_read_only: Read only access + :type unix_read_only: bool + :param unix_read_write: Read and write access + :type unix_read_write: bool + :param cifs: Allows CIFS protocol + :type cifs: bool + :param nfsv3: Allows NFSv3 protocol + :type nfsv3: bool + :param nfsv41: Allows NFSv4.1 protocol + :type nfsv41: bool + :param allowed_clients: Client ingress specification as comma separated + string with IPv4 CIDRs, IPv4 host addresses and host names + :type allowed_clients: str + """ + + _attribute_map = { + 'rule_index': {'key': 'ruleIndex', 'type': 'int'}, + 'unix_read_only': {'key': 'unixReadOnly', 'type': 'bool'}, + 'unix_read_write': {'key': 'unixReadWrite', 'type': 'bool'}, + 'cifs': {'key': 'cifs', 'type': 'bool'}, + 'nfsv3': {'key': 'nfsv3', 'type': 'bool'}, + 'nfsv41': {'key': 'nfsv41', 'type': 'bool'}, + 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, + } + + def __init__(self, *, rule_index: int=None, unix_read_only: bool=None, unix_read_write: bool=None, cifs: bool=None, nfsv3: bool=None, nfsv41: bool=None, allowed_clients: str=None, **kwargs) -> None: + super(ExportPolicyRule, self).__init__(**kwargs) + self.rule_index = rule_index + self.unix_read_only = unix_read_only + self.unix_read_write = unix_read_write + self.cifs = cifs + self.nfsv3 = nfsv3 + self.nfsv41 = nfsv41 + self.allowed_clients = allowed_clients + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.netapp.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, display_description: str=None, unit: str=None, dimensions=None, aggregation_type: str=None, fill_gap_with_zero: bool=None, category: str=None, resource_id_dimension_name_override: str=None, **kwargs) -> None: + super(MetricSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.dimensions = dimensions + self.aggregation_type = aggregation_type + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override + + +class MountTarget(Model): + """Mount Target. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :param tags: Resource tags + :type tags: object + :ivar mount_target_id: mountTargetId. UUID v4 used to identify the + MountTarget + :vartype mount_target_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the MountTarget + :type file_system_id: str + :ivar ip_address: ipAddress. The mount target's IPv4 address + :vartype ip_address: str + :param subnet: subnet. The subnet + :type subnet: str + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: endIp. The end of IPv4 address range to use when creating a + new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str + :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified + Domain Name, FQDN + :type smb_server_fqdn: str + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'mount_target_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}$'}, + 'file_system_id': {'required': 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}$'}, + 'ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'str'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, file_system_id: str, tags=None, subnet: str=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, smb_server_fqdn: str=None, **kwargs) -> None: + super(MountTarget, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.tags = tags + self.mount_target_id = None + self.file_system_id = file_system_id + self.ip_address = None + self.subnet = subnet + self.start_ip = start_ip + self.end_ip = end_ip + self.gateway = gateway + self.netmask = netmask + self.smb_server_fqdn = smb_server_fqdn + self.provisioning_state = None + + +class NetAppAccount(Model): + """NetApp account resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, + } + + def __init__(self, *, location: str, tags=None, active_directories=None, **kwargs) -> None: + super(NetAppAccount, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.provisioning_state = None + self.active_directories = active_directories + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, + } + + def __init__(self, *, location: str=None, tags=None, active_directories=None, **kwargs) -> None: + super(NetAppAccountPatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.provisioning_state = None + self.active_directories = active_directories + + +class Operation(Model): + """Microsoft.NetApp REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.netapp.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.netapp.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, *, name: str=None, display=None, origin: str=None, service_specification=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.service_specification = service_specification + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft NetApp. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + :param description: Operation description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, description: str=None, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class ResourceNameAvailability(Model): + """Information regarding availability of a resource name. + + :param is_available: true indicates name is valid and + available. false indicates the name is invalid, unavailable, + or both. + :type is_available: bool + :param reason: Invalid indicates the name provided does not + match Azure App Service naming requirements. AlreadyExists + indicates that the name is already in use and is therefore unavailable. + Possible values include: 'Invalid', 'AlreadyExists' + :type reason: str or ~azure.mgmt.netapp.models.InAvailabilityReasonType + :param message: If reason == invalid, provide the user with the reason why + the given name is invalid, and provide the resource naming requirements so + that the user can select a valid name. If reason == AlreadyExists, explain + that resource name is already in use, and direct them to select a + different name. + :type message: str + """ + + _attribute_map = { + 'is_available': {'key': 'isAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, *, is_available: bool=None, reason=None, message: str=None, **kwargs) -> None: + super(ResourceNameAvailability, self).__init__(**kwargs) + self.is_available = is_available + self.reason = reason + self.message = message + + +class ResourceNameAvailabilityRequest(Model): + """Resource name availability request content. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Resource name to verify. + :type name: str + :param type: Required. Resource type used for verification. Possible + values include: 'Microsoft.NetApp/netAppAccounts', + 'Microsoft.NetApp/netAppAccounts/capacityPools', + 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', + 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots' + :type type: str or ~azure.mgmt.netapp.models.CheckNameResourceTypes + :param resource_group: Required. Resource group name. + :type resource_group: str + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True}, + 'resource_group': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_group': {'key': 'resourceGroup', 'type': 'str'}, + } + + def __init__(self, *, name: str, type, resource_group: str, **kwargs) -> None: + super(ResourceNameAvailabilityRequest, self).__init__(**kwargs) + self.name = name + self.type = type + self.resource_group = resource_group + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.netapp.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, *, metric_specifications=None, **kwargs) -> None: + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications + + +class Snapshot(Model): + """Snapshot of a Volume. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot + :vartype snapshot_id: str + :param file_system_id: fileSystemId. UUID v4 used to identify the + FileSystem + :type file_system_id: str + :ivar created: name. The creation date of the snapshot + :vartype created: datetime + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'snapshot_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}$'}, + 'file_system_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}$'}, + 'created': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'created': {'key': 'properties.created', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, file_system_id: str=None, **kwargs) -> None: + super(Snapshot, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.snapshot_id = None + self.file_system_id = file_system_id + self.created = None + self.provisioning_state = None + + +class SnapshotPatch(Model): + """Snapshot patch. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(SnapshotPatch, self).__init__(**kwargs) + self.tags = tags + + +class Volume(Model): + """Volume resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. + :vartype file_system_id: str + :param creation_token: Required. Creation Token or File Path. A unique + file path for the volume. Used when creating mount targets + :type creation_token: str + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: Required. usageThreshold. Maximum storage quota + allowed for a file system in bytes. This is a soft quota used for alerting + only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + Default value: 107374182400 . + :type usage_threshold: long + :param export_policy: exportPolicy. Set of export policy rules + :type export_policy: + ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy + :param protocol_types: protocolTypes. Set of protocol types + :type protocol_types: list[str] + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param snapshot_id: Snapshot ID. UUID v4 or resource identifier used to + identify the Snapshot. + :type snapshot_id: str + :ivar baremetal_tenant_id: Baremetal Tenant ID. Unique Baremetal Tenant + Identifier. + :vartype baremetal_tenant_id: str + :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: mountTargets. List of mount targets + :type mount_targets: object + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + '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}$'}, + 'creation_token': {'required': True}, + 'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400}, + 'provisioning_state': {'readonly': True}, + 'snapshot_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, '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}$'}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePropertiesExportPolicy'}, + 'protocol_types': {'key': 'properties.protocolTypes', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'baremetal_tenant_id': {'key': 'properties.baremetalTenantId', 'type': 'str'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + 'mount_targets': {'key': 'properties.mountTargets', 'type': 'object'}, + } + + def __init__(self, *, location: str, creation_token: str, subnet_id: str, tags=None, service_level="Premium", usage_threshold: int=107374182400, export_policy=None, protocol_types=None, snapshot_id: str=None, mount_targets=None, **kwargs) -> None: + super(Volume, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.file_system_id = None + self.creation_token = creation_token + self.service_level = service_level + self.usage_threshold = usage_threshold + self.export_policy = export_policy + self.protocol_types = protocol_types + self.provisioning_state = None + self.snapshot_id = snapshot_id + self.baremetal_tenant_id = None + self.subnet_id = subnet_id + self.mount_targets = mount_targets + + +class VolumePatch(Model): + """Volume patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + Default value: 107374182400 . + :type usage_threshold: long + :param export_policy: exportPolicy. Set of export policy rules + :type export_policy: + ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePatchPropertiesExportPolicy'}, + } + + def __init__(self, *, location: str=None, tags=None, service_level="Premium", usage_threshold: int=107374182400, export_policy=None, **kwargs) -> None: + super(VolumePatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.service_level = service_level + self.usage_threshold = usage_threshold + self.export_policy = export_policy + + +class VolumePatchPropertiesExportPolicy(Model): + """exportPolicy. + + Set of export policy rules. + + :param rules: Export policy rule. Export policy rule + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] + """ + + _attribute_map = { + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, + } + + def __init__(self, *, rules=None, **kwargs) -> None: + super(VolumePatchPropertiesExportPolicy, self).__init__(**kwargs) + self.rules = rules + + +class VolumePropertiesExportPolicy(Model): + """exportPolicy. + + Set of export policy rules. + + :param rules: Export policy rule. Export policy rule + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] + """ + + _attribute_map = { + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, + } + + def __init__(self, *, rules=None, **kwargs) -> None: + super(VolumePropertiesExportPolicy, self).__init__(**kwargs) + self.rules = rules diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_paged_models.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_paged_models.py new file mode 100644 index 000000000000..2aeed420d513 --- /dev/null +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_paged_models.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class OperationPaged(Paged): + """ + A paging container for iterating over a list of :class:`Operation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Operation]'} + } + + def __init__(self, *args, **kwargs): + + super(OperationPaged, self).__init__(*args, **kwargs) +class NetAppAccountPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetAppAccount ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetAppAccount]'} + } + + def __init__(self, *args, **kwargs): + + super(NetAppAccountPaged, self).__init__(*args, **kwargs) +class CapacityPoolPaged(Paged): + """ + A paging container for iterating over a list of :class:`CapacityPool ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[CapacityPool]'} + } + + def __init__(self, *args, **kwargs): + + super(CapacityPoolPaged, self).__init__(*args, **kwargs) +class VolumePaged(Paged): + """ + A paging container for iterating over a list of :class:`Volume ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Volume]'} + } + + def __init__(self, *args, **kwargs): + + super(VolumePaged, self).__init__(*args, **kwargs) +class MountTargetPaged(Paged): + """ + A paging container for iterating over a list of :class:`MountTarget ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[MountTarget]'} + } + + def __init__(self, *args, **kwargs): + + super(MountTargetPaged, self).__init__(*args, **kwargs) +class SnapshotPaged(Paged): + """ + A paging container for iterating over a list of :class:`Snapshot ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Snapshot]'} + } + + def __init__(self, *args, **kwargs): + + super(SnapshotPaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory.py deleted file mode 100644 index 4e89541ee7ab..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ActiveDirectory(Model): - """Active Directory. - - :param active_directory_id: Id of the Active Directory - :type active_directory_id: str - :param username: Username of Active Directory domain administrator - :type username: str - :param password: Plain text password of Active Directory domain - administrator - :type password: str - :param domain: Name of the Active Directory domain - :type domain: str - :param dns: Comma separated list of DNS server IP addresses for the Active - Directory domain - :type dns: str - :param status: Status of the Active Directory - :type status: str - :param smb_server_name: NetBIOS name of the SMB server. This name will be - registered as a computer account in the AD and used to mount volumes - :type smb_server_name: str - :param organizational_unit: The Organizational Unit (OU) within the - Windows Active Directory - :type organizational_unit: str - """ - - _attribute_map = { - 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, - 'username': {'key': 'username', 'type': 'str'}, - 'password': {'key': 'password', 'type': 'str'}, - 'domain': {'key': 'domain', 'type': 'str'}, - 'dns': {'key': 'dns', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'str'}, - 'smb_server_name': {'key': 'smbServerName', 'type': 'str'}, - 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ActiveDirectory, self).__init__(**kwargs) - self.active_directory_id = kwargs.get('active_directory_id', None) - self.username = kwargs.get('username', None) - self.password = kwargs.get('password', None) - self.domain = kwargs.get('domain', None) - self.dns = kwargs.get('dns', None) - self.status = kwargs.get('status', None) - self.smb_server_name = kwargs.get('smb_server_name', None) - self.organizational_unit = kwargs.get('organizational_unit', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory_py3.py deleted file mode 100644 index 89fd28eb2a22..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/active_directory_py3.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ActiveDirectory(Model): - """Active Directory. - - :param active_directory_id: Id of the Active Directory - :type active_directory_id: str - :param username: Username of Active Directory domain administrator - :type username: str - :param password: Plain text password of Active Directory domain - administrator - :type password: str - :param domain: Name of the Active Directory domain - :type domain: str - :param dns: Comma separated list of DNS server IP addresses for the Active - Directory domain - :type dns: str - :param status: Status of the Active Directory - :type status: str - :param smb_server_name: NetBIOS name of the SMB server. This name will be - registered as a computer account in the AD and used to mount volumes - :type smb_server_name: str - :param organizational_unit: The Organizational Unit (OU) within the - Windows Active Directory - :type organizational_unit: str - """ - - _attribute_map = { - 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, - 'username': {'key': 'username', 'type': 'str'}, - 'password': {'key': 'password', 'type': 'str'}, - 'domain': {'key': 'domain', 'type': 'str'}, - 'dns': {'key': 'dns', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'str'}, - 'smb_server_name': {'key': 'smbServerName', 'type': 'str'}, - 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, - } - - def __init__(self, *, active_directory_id: str=None, username: str=None, password: str=None, domain: str=None, dns: str=None, status: str=None, smb_server_name: str=None, organizational_unit: str=None, **kwargs) -> None: - super(ActiveDirectory, self).__init__(**kwargs) - self.active_directory_id = active_directory_id - self.username = username - self.password = password - self.domain = domain - self.dns = dns - self.status = status - self.smb_server_name = smb_server_name - self.organizational_unit = organizational_unit diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool.py deleted file mode 100644 index 9a2dc8f38228..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class CapacityPool(Model): - """Capacity pool resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar pool_id: poolId. UUID v4 used to identify the Pool - :vartype pool_id: str - :param size: Required. size. Provisioned size of the pool (in bytes). - Allowed values are in 4TiB chunks (value must be multiply of - 4398046511104). - :type size: long - :param service_level: Required. serviceLevel. The service level of the - file system. Possible values include: 'Standard', 'Premium', 'Ultra'. - Default value: "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'pool_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}$'}, - 'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104}, - 'service_level': {'required': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, - 'size': {'key': 'properties.size', 'type': 'long'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(CapacityPool, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.pool_id = None - self.size = kwargs.get('size', None) - self.service_level = kwargs.get('service_level', "Premium") - self.provisioning_state = None diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_paged.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_paged.py deleted file mode 100644 index fa7c435c870d..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class CapacityPoolPaged(Paged): - """ - A paging container for iterating over a list of :class:`CapacityPool ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[CapacityPool]'} - } - - def __init__(self, *args, **kwargs): - - super(CapacityPoolPaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch.py deleted file mode 100644 index 03810e13bf5a..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class CapacityPoolPatch(Model): - """Capacity pool patch resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param location: Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :param size: size. Provisioned size of the pool (in bytes). Allowed values - are in 4TiB chunks (value must be multiply of 4398046511104). Default - value: 4398046511104 . - :type size: long - :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: - "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'size': {'key': 'properties.size', 'type': 'long'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(CapacityPoolPatch, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.size = kwargs.get('size', 4398046511104) - self.service_level = kwargs.get('service_level', "Premium") diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch_py3.py deleted file mode 100644 index 0ff013d0ef91..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_patch_py3.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class CapacityPoolPatch(Model): - """Capacity pool patch resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param location: Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :param size: size. Provisioned size of the pool (in bytes). Allowed values - are in 4TiB chunks (value must be multiply of 4398046511104). Default - value: 4398046511104 . - :type size: long - :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: - "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'size': {'key': 'properties.size', 'type': 'long'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - } - - def __init__(self, *, location: str=None, tags=None, size: int=4398046511104, service_level="Premium", **kwargs) -> None: - super(CapacityPoolPatch, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.size = size - self.service_level = service_level diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_py3.py deleted file mode 100644 index 6040ddfd3dc9..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/capacity_pool_py3.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class CapacityPool(Model): - """Capacity pool resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar pool_id: poolId. UUID v4 used to identify the Pool - :vartype pool_id: str - :param size: Required. size. Provisioned size of the pool (in bytes). - Allowed values are in 4TiB chunks (value must be multiply of - 4398046511104). - :type size: long - :param service_level: Required. serviceLevel. The service level of the - file system. Possible values include: 'Standard', 'Premium', 'Ultra'. - Default value: "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'pool_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}$'}, - 'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104}, - 'service_level': {'required': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, - 'size': {'key': 'properties.size', 'type': 'long'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, *, location: str, size: int, tags=None, service_level="Premium", **kwargs) -> None: - super(CapacityPool, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.pool_id = None - self.size = size - self.service_level = service_level - self.provisioning_state = None diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension.py deleted file mode 100644 index 2398aa46e8f6..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Dimension(Model): - """Dimension of blobs, possibly be blob type or access tier. - - :param name: Display name of dimension. - :type name: str - :param display_name: Display name of dimension. - :type display_name: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Dimension, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display_name = kwargs.get('display_name', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension_py3.py deleted file mode 100644 index af5b0aac3d23..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/dimension_py3.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Dimension(Model): - """Dimension of blobs, possibly be blob type or access tier. - - :param name: Display name of dimension. - :type name: str - :param display_name: Display name of dimension. - :type display_name: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - } - - def __init__(self, *, name: str=None, display_name: str=None, **kwargs) -> None: - super(Dimension, self).__init__(**kwargs) - self.name = name - self.display_name = display_name diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule.py deleted file mode 100644 index 12b5fbc66822..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ExportPolicyRule(Model): - """Volume Export Policy Rule. - - :param rule_index: Order index - :type rule_index: int - :param unix_read_only: Read only access - :type unix_read_only: bool - :param unix_read_write: Read and write access - :type unix_read_write: bool - :param cifs: Allows CIFS protocol - :type cifs: bool - :param nfsv3: Allows NFSv3 protocol - :type nfsv3: bool - :param nfsv4: Allows NFSv4 protocol - :type nfsv4: bool - :param allowed_clients: Client ingress specification as comma separated - string with IPv4 CIDRs, IPv4 host addresses and host names - :type allowed_clients: str - """ - - _attribute_map = { - 'rule_index': {'key': 'ruleIndex', 'type': 'int'}, - 'unix_read_only': {'key': 'unixReadOnly', 'type': 'bool'}, - 'unix_read_write': {'key': 'unixReadWrite', 'type': 'bool'}, - 'cifs': {'key': 'cifs', 'type': 'bool'}, - 'nfsv3': {'key': 'nfsv3', 'type': 'bool'}, - 'nfsv4': {'key': 'nfsv4', 'type': 'bool'}, - 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ExportPolicyRule, self).__init__(**kwargs) - self.rule_index = kwargs.get('rule_index', None) - self.unix_read_only = kwargs.get('unix_read_only', None) - self.unix_read_write = kwargs.get('unix_read_write', None) - self.cifs = kwargs.get('cifs', None) - self.nfsv3 = kwargs.get('nfsv3', None) - self.nfsv4 = kwargs.get('nfsv4', None) - self.allowed_clients = kwargs.get('allowed_clients', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule_py3.py deleted file mode 100644 index 62f11c226eb7..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/export_policy_rule_py3.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ExportPolicyRule(Model): - """Volume Export Policy Rule. - - :param rule_index: Order index - :type rule_index: int - :param unix_read_only: Read only access - :type unix_read_only: bool - :param unix_read_write: Read and write access - :type unix_read_write: bool - :param cifs: Allows CIFS protocol - :type cifs: bool - :param nfsv3: Allows NFSv3 protocol - :type nfsv3: bool - :param nfsv4: Allows NFSv4 protocol - :type nfsv4: bool - :param allowed_clients: Client ingress specification as comma separated - string with IPv4 CIDRs, IPv4 host addresses and host names - :type allowed_clients: str - """ - - _attribute_map = { - 'rule_index': {'key': 'ruleIndex', 'type': 'int'}, - 'unix_read_only': {'key': 'unixReadOnly', 'type': 'bool'}, - 'unix_read_write': {'key': 'unixReadWrite', 'type': 'bool'}, - 'cifs': {'key': 'cifs', 'type': 'bool'}, - 'nfsv3': {'key': 'nfsv3', 'type': 'bool'}, - 'nfsv4': {'key': 'nfsv4', 'type': 'bool'}, - 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, - } - - def __init__(self, *, rule_index: int=None, unix_read_only: bool=None, unix_read_write: bool=None, cifs: bool=None, nfsv3: bool=None, nfsv4: bool=None, allowed_clients: str=None, **kwargs) -> None: - super(ExportPolicyRule, self).__init__(**kwargs) - self.rule_index = rule_index - self.unix_read_only = unix_read_only - self.unix_read_write = unix_read_write - self.cifs = cifs - self.nfsv3 = nfsv3 - self.nfsv4 = nfsv4 - self.allowed_clients = allowed_clients diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification.py deleted file mode 100644 index 340a905ef641..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class MetricSpecification(Model): - """Metric specification of operation. - - :param name: Name of metric specification. - :type name: str - :param display_name: Display name of metric specification. - :type display_name: str - :param display_description: Display description of metric specification. - :type display_description: str - :param unit: Unit could be Bytes or Count. - :type unit: str - :param dimensions: Dimensions of blobs, including blob type and access - tier. - :type dimensions: list[~azure.mgmt.netapp.models.Dimension] - :param aggregation_type: Aggregation type could be Average. - :type aggregation_type: str - :param fill_gap_with_zero: The property to decide fill gap with zero or - not. - :type fill_gap_with_zero: bool - :param category: The category this metric specification belong to, could - be Capacity. - :type category: str - :param resource_id_dimension_name_override: Account Resource Id. - :type resource_id_dimension_name_override: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - 'display_description': {'key': 'displayDescription', 'type': 'str'}, - 'unit': {'key': 'unit', 'type': 'str'}, - 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, - 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, - 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, - 'category': {'key': 'category', 'type': 'str'}, - 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(MetricSpecification, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display_name = kwargs.get('display_name', None) - self.display_description = kwargs.get('display_description', None) - self.unit = kwargs.get('unit', None) - self.dimensions = kwargs.get('dimensions', None) - self.aggregation_type = kwargs.get('aggregation_type', None) - self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) - self.category = kwargs.get('category', None) - self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification_py3.py deleted file mode 100644 index 603882841982..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/metric_specification_py3.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class MetricSpecification(Model): - """Metric specification of operation. - - :param name: Name of metric specification. - :type name: str - :param display_name: Display name of metric specification. - :type display_name: str - :param display_description: Display description of metric specification. - :type display_description: str - :param unit: Unit could be Bytes or Count. - :type unit: str - :param dimensions: Dimensions of blobs, including blob type and access - tier. - :type dimensions: list[~azure.mgmt.netapp.models.Dimension] - :param aggregation_type: Aggregation type could be Average. - :type aggregation_type: str - :param fill_gap_with_zero: The property to decide fill gap with zero or - not. - :type fill_gap_with_zero: bool - :param category: The category this metric specification belong to, could - be Capacity. - :type category: str - :param resource_id_dimension_name_override: Account Resource Id. - :type resource_id_dimension_name_override: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - 'display_description': {'key': 'displayDescription', 'type': 'str'}, - 'unit': {'key': 'unit', 'type': 'str'}, - 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, - 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, - 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, - 'category': {'key': 'category', 'type': 'str'}, - 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, - } - - def __init__(self, *, name: str=None, display_name: str=None, display_description: str=None, unit: str=None, dimensions=None, aggregation_type: str=None, fill_gap_with_zero: bool=None, category: str=None, resource_id_dimension_name_override: str=None, **kwargs) -> None: - super(MetricSpecification, self).__init__(**kwargs) - self.name = name - self.display_name = display_name - self.display_description = display_description - self.unit = unit - self.dimensions = dimensions - self.aggregation_type = aggregation_type - self.fill_gap_with_zero = fill_gap_with_zero - self.category = category - self.resource_id_dimension_name_override = resource_id_dimension_name_override diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target.py deleted file mode 100644 index 0bbbbbd78e70..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class MountTarget(Model): - """Mount Target. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :param tags: Resource tags - :type tags: object - :ivar mount_target_id: mountTargetId. UUID v4 used to identify the - MountTarget - :vartype mount_target_id: str - :param file_system_id: Required. fileSystemId. UUID v4 used to identify - the MountTarget - :type file_system_id: str - :ivar ip_address: ipAddress. The mount target's IPv4 address - :vartype ip_address: str - :param subnet: subnet. The subnet - :type subnet: str - :param start_ip: startIp. The start of IPv4 address range to use when - creating a new mount target - :type start_ip: str - :param end_ip: endIp. The end of IPv4 address range to use when creating a - new mount target - :type end_ip: str - :param gateway: gateway. The gateway of the IPv4 address range to use when - creating a new mount target - :type gateway: str - :param netmask: netmask. The netmask of the IPv4 address range to use when - creating a new mount target - :type netmask: str - :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified - Domain Name, FQDN - :type smb_server_fqdn: str - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'mount_target_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}$'}, - 'file_system_id': {'required': 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}$'}, - 'ip_address': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, - 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, - 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, - 'subnet': {'key': 'properties.subnet', 'type': 'str'}, - 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, - 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, - 'gateway': {'key': 'properties.gateway', 'type': 'str'}, - 'netmask': {'key': 'properties.netmask', 'type': 'str'}, - 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(MountTarget, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.tags = kwargs.get('tags', None) - self.mount_target_id = None - self.file_system_id = kwargs.get('file_system_id', None) - self.ip_address = None - self.subnet = kwargs.get('subnet', None) - self.start_ip = kwargs.get('start_ip', None) - self.end_ip = kwargs.get('end_ip', None) - self.gateway = kwargs.get('gateway', None) - self.netmask = kwargs.get('netmask', None) - self.smb_server_fqdn = kwargs.get('smb_server_fqdn', None) - self.provisioning_state = None diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_paged.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_paged.py deleted file mode 100644 index 8d9983678f24..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class MountTargetPaged(Paged): - """ - A paging container for iterating over a list of :class:`MountTarget ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[MountTarget]'} - } - - def __init__(self, *args, **kwargs): - - super(MountTargetPaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_py3.py deleted file mode 100644 index 475cf4105ccc..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/mount_target_py3.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class MountTarget(Model): - """Mount Target. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :param tags: Resource tags - :type tags: object - :ivar mount_target_id: mountTargetId. UUID v4 used to identify the - MountTarget - :vartype mount_target_id: str - :param file_system_id: Required. fileSystemId. UUID v4 used to identify - the MountTarget - :type file_system_id: str - :ivar ip_address: ipAddress. The mount target's IPv4 address - :vartype ip_address: str - :param subnet: subnet. The subnet - :type subnet: str - :param start_ip: startIp. The start of IPv4 address range to use when - creating a new mount target - :type start_ip: str - :param end_ip: endIp. The end of IPv4 address range to use when creating a - new mount target - :type end_ip: str - :param gateway: gateway. The gateway of the IPv4 address range to use when - creating a new mount target - :type gateway: str - :param netmask: netmask. The netmask of the IPv4 address range to use when - creating a new mount target - :type netmask: str - :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified - Domain Name, FQDN - :type smb_server_fqdn: str - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'mount_target_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}$'}, - 'file_system_id': {'required': 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}$'}, - 'ip_address': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, - 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, - 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, - 'subnet': {'key': 'properties.subnet', 'type': 'str'}, - 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, - 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, - 'gateway': {'key': 'properties.gateway', 'type': 'str'}, - 'netmask': {'key': 'properties.netmask', 'type': 'str'}, - 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, *, location: str, file_system_id: str, tags=None, subnet: str=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, smb_server_fqdn: str=None, **kwargs) -> None: - super(MountTarget, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.tags = tags - self.mount_target_id = None - self.file_system_id = file_system_id - self.ip_address = None - self.subnet = subnet - self.start_ip = start_ip - self.end_ip = end_ip - self.gateway = gateway - self.netmask = netmask - self.smb_server_fqdn = smb_server_fqdn - self.provisioning_state = None diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account.py deleted file mode 100644 index 3f15012da98e..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class NetAppAccount(Model): - """NetApp account resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - :param active_directories: Active Directories - :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, - } - - def __init__(self, **kwargs): - super(NetAppAccount, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.provisioning_state = None - self.active_directories = kwargs.get('active_directories', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_paged.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_paged.py deleted file mode 100644 index fd4a719a0737..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class NetAppAccountPaged(Paged): - """ - A paging container for iterating over a list of :class:`NetAppAccount ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[NetAppAccount]'} - } - - def __init__(self, *args, **kwargs): - - super(NetAppAccountPaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch.py deleted file mode 100644 index 1e8f35b91a4c..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class NetAppAccountPatch(Model): - """NetApp account patch resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param location: Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - :param active_directories: Active Directories - :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, - } - - def __init__(self, **kwargs): - super(NetAppAccountPatch, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.provisioning_state = None - self.active_directories = kwargs.get('active_directories', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch_py3.py deleted file mode 100644 index 982ff8975584..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_patch_py3.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class NetAppAccountPatch(Model): - """NetApp account patch resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param location: Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - :param active_directories: Active Directories - :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, - } - - def __init__(self, *, location: str=None, tags=None, active_directories=None, **kwargs) -> None: - super(NetAppAccountPatch, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.provisioning_state = None - self.active_directories = active_directories diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_py3.py deleted file mode 100644 index 72e53303d3fa..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/net_app_account_py3.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class NetAppAccount(Model): - """NetApp account resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - :param active_directories: Active Directories - :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, - } - - def __init__(self, *, location: str, tags=None, active_directories=None, **kwargs) -> None: - super(NetAppAccount, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.provisioning_state = None - self.active_directories = active_directories diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation.py deleted file mode 100644 index 928aa9c0a0b6..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Operation(Model): - """Microsoft.NetApp REST API operation definition. - - :param name: Operation name: {provider}/{resource}/{operation} - :type name: str - :param display: Display metadata associated with the operation. - :type display: ~azure.mgmt.netapp.models.OperationDisplay - :param origin: The origin of operations. - :type origin: str - :param service_specification: One property of operation, include metric - specifications. - :type service_specification: - ~azure.mgmt.netapp.models.ServiceSpecification - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, - } - - def __init__(self, **kwargs): - super(Operation, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display = kwargs.get('display', None) - self.origin = kwargs.get('origin', None) - self.service_specification = kwargs.get('service_specification', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display.py deleted file mode 100644 index e9de65b8880f..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class OperationDisplay(Model): - """Display metadata associated with the operation. - - :param provider: Service provider: Microsoft NetApp. - :type provider: str - :param resource: Resource on which the operation is performed etc. - :type resource: str - :param operation: Type of operation: get, read, delete, etc. - :type operation: str - :param description: Operation description. - :type description: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(OperationDisplay, self).__init__(**kwargs) - self.provider = kwargs.get('provider', None) - self.resource = kwargs.get('resource', None) - self.operation = kwargs.get('operation', None) - self.description = kwargs.get('description', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display_py3.py deleted file mode 100644 index a066121cec71..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_display_py3.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class OperationDisplay(Model): - """Display metadata associated with the operation. - - :param provider: Service provider: Microsoft NetApp. - :type provider: str - :param resource: Resource on which the operation is performed etc. - :type resource: str - :param operation: Type of operation: get, read, delete, etc. - :type operation: str - :param description: Operation description. - :type description: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, description: str=None, **kwargs) -> None: - super(OperationDisplay, self).__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation - self.description = description diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_paged.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_paged.py deleted file mode 100644 index 75776552e32c..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class OperationPaged(Paged): - """ - A paging container for iterating over a list of :class:`Operation ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Operation]'} - } - - def __init__(self, *args, **kwargs): - - super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_py3.py deleted file mode 100644 index a4de32fddd08..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/operation_py3.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Operation(Model): - """Microsoft.NetApp REST API operation definition. - - :param name: Operation name: {provider}/{resource}/{operation} - :type name: str - :param display: Display metadata associated with the operation. - :type display: ~azure.mgmt.netapp.models.OperationDisplay - :param origin: The origin of operations. - :type origin: str - :param service_specification: One property of operation, include metric - specifications. - :type service_specification: - ~azure.mgmt.netapp.models.ServiceSpecification - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, - } - - def __init__(self, *, name: str=None, display=None, origin: str=None, service_specification=None, **kwargs) -> None: - super(Operation, self).__init__(**kwargs) - self.name = name - self.display = display - self.origin = origin - self.service_specification = service_specification diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability.py deleted file mode 100644 index 397cda55eb33..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ResourceNameAvailability(Model): - """Information regarding availability of a resource name. - - :param is_available: true indicates name is valid and - available. false indicates the name is invalid, unavailable, - or both. - :type is_available: bool - :param reason: Invalid indicates the name provided does not - match Azure App Service naming requirements. AlreadyExists - indicates that the name is already in use and is therefore unavailable. - Possible values include: 'Invalid', 'AlreadyExists' - :type reason: str or ~azure.mgmt.netapp.models.InAvailabilityReasonType - :param message: If reason == invalid, provide the user with the reason why - the given name is invalid, and provide the resource naming requirements so - that the user can select a valid name. If reason == AlreadyExists, explain - that resource name is already in use, and direct them to select a - different name. - :type message: str - """ - - _attribute_map = { - 'is_available': {'key': 'isAvailable', 'type': 'bool'}, - 'reason': {'key': 'reason', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ResourceNameAvailability, self).__init__(**kwargs) - self.is_available = kwargs.get('is_available', None) - self.reason = kwargs.get('reason', None) - self.message = kwargs.get('message', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_py3.py deleted file mode 100644 index f88d9f403fe0..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_py3.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ResourceNameAvailability(Model): - """Information regarding availability of a resource name. - - :param is_available: true indicates name is valid and - available. false indicates the name is invalid, unavailable, - or both. - :type is_available: bool - :param reason: Invalid indicates the name provided does not - match Azure App Service naming requirements. AlreadyExists - indicates that the name is already in use and is therefore unavailable. - Possible values include: 'Invalid', 'AlreadyExists' - :type reason: str or ~azure.mgmt.netapp.models.InAvailabilityReasonType - :param message: If reason == invalid, provide the user with the reason why - the given name is invalid, and provide the resource naming requirements so - that the user can select a valid name. If reason == AlreadyExists, explain - that resource name is already in use, and direct them to select a - different name. - :type message: str - """ - - _attribute_map = { - 'is_available': {'key': 'isAvailable', 'type': 'bool'}, - 'reason': {'key': 'reason', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__(self, *, is_available: bool=None, reason=None, message: str=None, **kwargs) -> None: - super(ResourceNameAvailability, self).__init__(**kwargs) - self.is_available = is_available - self.reason = reason - self.message = message diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request.py deleted file mode 100644 index c4b6599261b9..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ResourceNameAvailabilityRequest(Model): - """Resource name availability request content. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Resource name to verify. - :type name: str - :param type: Required. Resource type used for verification. Possible - values include: 'Microsoft.NetApp/netAppAccounts', - 'Microsoft.NetApp/netAppAccounts/capacityPools', - 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', - 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots' - :type type: str or ~azure.mgmt.netapp.models.CheckNameResourceTypes - :param resource_group: Required. Resource group name. - :type resource_group: str - """ - - _validation = { - 'name': {'required': True}, - 'type': {'required': True}, - 'resource_group': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'resource_group': {'key': 'resourceGroup', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ResourceNameAvailabilityRequest, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.type = kwargs.get('type', None) - self.resource_group = kwargs.get('resource_group', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request_py3.py deleted file mode 100644 index a26b5044501c..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/resource_name_availability_request_py3.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ResourceNameAvailabilityRequest(Model): - """Resource name availability request content. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Resource name to verify. - :type name: str - :param type: Required. Resource type used for verification. Possible - values include: 'Microsoft.NetApp/netAppAccounts', - 'Microsoft.NetApp/netAppAccounts/capacityPools', - 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', - 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots' - :type type: str or ~azure.mgmt.netapp.models.CheckNameResourceTypes - :param resource_group: Required. Resource group name. - :type resource_group: str - """ - - _validation = { - 'name': {'required': True}, - 'type': {'required': True}, - 'resource_group': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'resource_group': {'key': 'resourceGroup', 'type': 'str'}, - } - - def __init__(self, *, name: str, type, resource_group: str, **kwargs) -> None: - super(ResourceNameAvailabilityRequest, self).__init__(**kwargs) - self.name = name - self.type = type - self.resource_group = resource_group diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification.py deleted file mode 100644 index ad10cc9a95f0..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ServiceSpecification(Model): - """One property of operation, include metric specifications. - - :param metric_specifications: Metric specifications of operation. - :type metric_specifications: - list[~azure.mgmt.netapp.models.MetricSpecification] - """ - - _attribute_map = { - 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, - } - - def __init__(self, **kwargs): - super(ServiceSpecification, self).__init__(**kwargs) - self.metric_specifications = kwargs.get('metric_specifications', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification_py3.py deleted file mode 100644 index e6ab3038fbee..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/service_specification_py3.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class ServiceSpecification(Model): - """One property of operation, include metric specifications. - - :param metric_specifications: Metric specifications of operation. - :type metric_specifications: - list[~azure.mgmt.netapp.models.MetricSpecification] - """ - - _attribute_map = { - 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, - } - - def __init__(self, *, metric_specifications=None, **kwargs) -> None: - super(ServiceSpecification, self).__init__(**kwargs) - self.metric_specifications = metric_specifications diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot.py deleted file mode 100644 index 2b9c7fa475f9..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Snapshot(Model): - """Snapshot of a Volume. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot - :vartype snapshot_id: str - :param file_system_id: fileSystemId. UUID v4 used to identify the - FileSystem - :type file_system_id: str - :ivar creation_date: name. The creation date of the snapshot - :vartype creation_date: datetime - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'snapshot_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}$'}, - 'file_system_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}$'}, - 'creation_date': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, - 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, - 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Snapshot, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.snapshot_id = None - self.file_system_id = kwargs.get('file_system_id', None) - self.creation_date = None - self.provisioning_state = None diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_paged.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_paged.py deleted file mode 100644 index 95ab3fde9644..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class SnapshotPaged(Paged): - """ - A paging container for iterating over a list of :class:`Snapshot ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Snapshot]'} - } - - def __init__(self, *args, **kwargs): - - super(SnapshotPaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch.py deleted file mode 100644 index 9ccd3602fab8..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class SnapshotPatch(Model): - """Snapshot patch. - - :param tags: Resource tags - :type tags: object - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(SnapshotPatch, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch_py3.py deleted file mode 100644 index 61ba55fecf81..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_patch_py3.py +++ /dev/null @@ -1,28 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class SnapshotPatch(Model): - """Snapshot patch. - - :param tags: Resource tags - :type tags: object - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': 'object'}, - } - - def __init__(self, *, tags=None, **kwargs) -> None: - super(SnapshotPatch, self).__init__(**kwargs) - self.tags = tags diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_py3.py deleted file mode 100644 index fb9362306139..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/snapshot_py3.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Snapshot(Model): - """Snapshot of a Volume. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot - :vartype snapshot_id: str - :param file_system_id: fileSystemId. UUID v4 used to identify the - FileSystem - :type file_system_id: str - :ivar creation_date: name. The creation date of the snapshot - :vartype creation_date: datetime - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'snapshot_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}$'}, - 'file_system_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}$'}, - 'creation_date': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, - 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, - 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__(self, *, location: str, tags=None, file_system_id: str=None, **kwargs) -> None: - super(Snapshot, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.snapshot_id = None - self.file_system_id = file_system_id - self.creation_date = None - self.provisioning_state = None diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume.py deleted file mode 100644 index 99be4a98142f..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Volume(Model): - """Volume resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. - :vartype file_system_id: str - :param creation_token: Required. Creation Token or File Path. A unique - file path for the volume. Used when creating mount targets - :type creation_token: str - :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: - "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - :param usage_threshold: Required. usageThreshold. Maximum storage quota - allowed for a file system in bytes. This is a soft quota used for alerting - only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. - Default value: 107374182400 . - :type usage_threshold: long - :param export_policy: exportPolicy. Set of export policy rules - :type export_policy: - ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy - :param protocol_types: protocolTypes. Set of protocol types - :type protocol_types: list[str] - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - :param snapshot_id: Snapshot ID. UUID v4 or resource identifier used to - identify the Snapshot. - :type snapshot_id: str - :ivar baremetal_tenant_id: Baremetal Tenant ID. Unique Baremetal Tenant - Identifier. - :vartype baremetal_tenant_id: str - :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: mountTargets. List of mount targets - :type mount_targets: object - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - '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}$'}, - 'creation_token': {'required': True}, - 'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400}, - 'provisioning_state': {'readonly': True}, - 'snapshot_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, '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}$'}, - 'subnet_id': {'required': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, - 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, - 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePropertiesExportPolicy'}, - 'protocol_types': {'key': 'properties.protocolTypes', 'type': '[str]'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, - 'baremetal_tenant_id': {'key': 'properties.baremetalTenantId', 'type': 'str'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'mount_targets': {'key': 'properties.mountTargets', 'type': 'object'}, - } - - def __init__(self, **kwargs): - super(Volume, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.file_system_id = None - self.creation_token = kwargs.get('creation_token', None) - self.service_level = kwargs.get('service_level', "Premium") - self.usage_threshold = kwargs.get('usage_threshold', 107374182400) - self.export_policy = kwargs.get('export_policy', None) - self.protocol_types = kwargs.get('protocol_types', None) - self.provisioning_state = None - self.snapshot_id = kwargs.get('snapshot_id', None) - self.baremetal_tenant_id = None - self.subnet_id = kwargs.get('subnet_id', None) - self.mount_targets = kwargs.get('mount_targets', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_paged.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_paged.py deleted file mode 100644 index 17d9bd4c9d35..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_paged.py +++ /dev/null @@ -1,27 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class VolumePaged(Paged): - """ - A paging container for iterating over a list of :class:`Volume ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Volume]'} - } - - def __init__(self, *args, **kwargs): - - super(VolumePaged, self).__init__(*args, **kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch.py deleted file mode 100644 index e8fbfa6863c8..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class VolumePatch(Model): - """Volume patch resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param location: Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: - "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - :param usage_threshold: usageThreshold. Maximum storage quota allowed for - a file system in bytes. This is a soft quota used for alerting only. - Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. - Default value: 107374182400 . - :type usage_threshold: long - :param export_policy: exportPolicy. Set of export policy rules - :type export_policy: - ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, - 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePatchPropertiesExportPolicy'}, - } - - def __init__(self, **kwargs): - super(VolumePatch, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.id = None - self.name = None - self.type = None - self.tags = kwargs.get('tags', None) - self.service_level = kwargs.get('service_level', "Premium") - self.usage_threshold = kwargs.get('usage_threshold', 107374182400) - self.export_policy = kwargs.get('export_policy', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy.py deleted file mode 100644 index 5b40edccf383..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class VolumePatchPropertiesExportPolicy(Model): - """exportPolicy. - - Set of export policy rules. - - :param rules: Export policy rule. Export policy rule - :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] - """ - - _attribute_map = { - 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, - } - - def __init__(self, **kwargs): - super(VolumePatchPropertiesExportPolicy, self).__init__(**kwargs) - self.rules = kwargs.get('rules', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy_py3.py deleted file mode 100644 index 2f399bf38cb3..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_properties_export_policy_py3.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class VolumePatchPropertiesExportPolicy(Model): - """exportPolicy. - - Set of export policy rules. - - :param rules: Export policy rule. Export policy rule - :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] - """ - - _attribute_map = { - 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, - } - - def __init__(self, *, rules=None, **kwargs) -> None: - super(VolumePatchPropertiesExportPolicy, self).__init__(**kwargs) - self.rules = rules diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_py3.py deleted file mode 100644 index 054b0c696fe1..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_patch_py3.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class VolumePatch(Model): - """Volume patch resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param location: Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: - "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - :param usage_threshold: usageThreshold. Maximum storage quota allowed for - a file system in bytes. This is a soft quota used for alerting only. - Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. - Default value: 107374182400 . - :type usage_threshold: long - :param export_policy: exportPolicy. Set of export policy rules - :type export_policy: - ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, - 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePatchPropertiesExportPolicy'}, - } - - def __init__(self, *, location: str=None, tags=None, service_level="Premium", usage_threshold: int=107374182400, export_policy=None, **kwargs) -> None: - super(VolumePatch, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.service_level = service_level - self.usage_threshold = usage_threshold - self.export_policy = export_policy diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy.py deleted file mode 100644 index 2c35eeca48ea..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class VolumePropertiesExportPolicy(Model): - """exportPolicy. - - Set of export policy rules. - - :param rules: Export policy rule. Export policy rule - :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] - """ - - _attribute_map = { - 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, - } - - def __init__(self, **kwargs): - super(VolumePropertiesExportPolicy, self).__init__(**kwargs) - self.rules = kwargs.get('rules', None) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy_py3.py deleted file mode 100644 index f99f654f26ae..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_properties_export_policy_py3.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class VolumePropertiesExportPolicy(Model): - """exportPolicy. - - Set of export policy rules. - - :param rules: Export policy rule. Export policy rule - :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] - """ - - _attribute_map = { - 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, - } - - def __init__(self, *, rules=None, **kwargs) -> None: - super(VolumePropertiesExportPolicy, self).__init__(**kwargs) - self.rules = rules diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_py3.py deleted file mode 100644 index eb5382162a98..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/volume_py3.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.serialization import Model - - -class Volume(Model): - """Volume resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :param location: Required. Resource location - :type location: str - :ivar id: Resource Id - :vartype id: str - :ivar name: Resource name - :vartype name: str - :ivar type: Resource type - :vartype type: str - :param tags: Resource tags - :type tags: object - :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. - :vartype file_system_id: str - :param creation_token: Required. Creation Token or File Path. A unique - file path for the volume. Used when creating mount targets - :type creation_token: str - :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: - "Premium" . - :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel - :param usage_threshold: Required. usageThreshold. Maximum storage quota - allowed for a file system in bytes. This is a soft quota used for alerting - only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. - Default value: 107374182400 . - :type usage_threshold: long - :param export_policy: exportPolicy. Set of export policy rules - :type export_policy: - ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy - :param protocol_types: protocolTypes. Set of protocol types - :type protocol_types: list[str] - :ivar provisioning_state: Azure lifecycle management - :vartype provisioning_state: str - :param snapshot_id: Snapshot ID. UUID v4 or resource identifier used to - identify the Snapshot. - :type snapshot_id: str - :ivar baremetal_tenant_id: Baremetal Tenant ID. Unique Baremetal Tenant - Identifier. - :vartype baremetal_tenant_id: str - :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: mountTargets. List of mount targets - :type mount_targets: object - """ - - _validation = { - 'location': {'required': True}, - 'id': {'readonly': True}, - '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}$'}, - 'creation_token': {'required': True}, - 'usage_threshold': {'required': True, 'maximum': 109951162777600, 'minimum': 107374182400}, - 'provisioning_state': {'readonly': True}, - 'snapshot_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, '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}$'}, - 'subnet_id': {'required': True}, - } - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': 'object'}, - 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, - 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, - 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, - 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, - 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePropertiesExportPolicy'}, - 'protocol_types': {'key': 'properties.protocolTypes', 'type': '[str]'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, - 'baremetal_tenant_id': {'key': 'properties.baremetalTenantId', 'type': 'str'}, - 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, - 'mount_targets': {'key': 'properties.mountTargets', 'type': 'object'}, - } - - def __init__(self, *, location: str, creation_token: str, subnet_id: str, tags=None, service_level="Premium", usage_threshold: int=107374182400, export_policy=None, protocol_types=None, snapshot_id: str=None, mount_targets=None, **kwargs) -> None: - super(Volume, self).__init__(**kwargs) - self.location = location - self.id = None - self.name = None - self.type = None - self.tags = tags - self.file_system_id = None - self.creation_token = creation_token - self.service_level = service_level - self.usage_threshold = usage_threshold - self.export_policy = export_policy - self.protocol_types = protocol_types - self.provisioning_state = None - self.snapshot_id = snapshot_id - self.baremetal_tenant_id = None - self.subnet_id = subnet_id - self.mount_targets = mount_targets diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/__init__.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/__init__.py index 99c673b8e4d8..1cc05160eaec 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/__init__.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/__init__.py @@ -9,12 +9,13 @@ # regenerated. # -------------------------------------------------------------------------- -from .operations import Operations -from .accounts_operations import AccountsOperations -from .pools_operations import PoolsOperations -from .volumes_operations import VolumesOperations -from .mount_targets_operations import MountTargetsOperations -from .snapshots_operations import SnapshotsOperations +from ._operations import Operations +from ._accounts_operations import AccountsOperations +from ._pools_operations import PoolsOperations +from ._volumes_operations import VolumesOperations +from ._mount_targets_operations import MountTargetsOperations +from ._snapshots_operations import SnapshotsOperations +from ._azure_net_app_files_management_client_operations import AzureNetAppFilesManagementClientOperationsMixin __all__ = [ 'Operations', @@ -23,4 +24,5 @@ 'VolumesOperations', 'MountTargetsOperations', 'SnapshotsOperations', + 'AzureNetAppFilesManagementClientOperationsMixin', ] 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 similarity index 97% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py index afe23568a1ed..1fbf6995b910 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 @@ -21,11 +21,13 @@ class AccountsOperations(object): """AccountsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-06-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-07-01". """ models = models @@ -35,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2019-07-01" self.config = config @@ -57,8 +59,7 @@ def list( ~azure.mgmt.netapp.models.NetAppAccountPaged[~azure.mgmt.netapp.models.NetAppAccount] :raises: :class:`CloudError` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -88,6 +89,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -98,12 +104,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts'} @@ -161,7 +165,6 @@ def get( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('NetAppAccount', response) @@ -419,7 +422,6 @@ def update( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('NetAppAccount', response) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/azure_net_app_files_management_client.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_azure_net_app_files_management_client_operations.py similarity index 64% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/azure_net_app_files_management_client.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_azure_net_app_files_management_client_operations.py index 48e6f19a4017..c68b29b3f483 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/azure_net_app_files_management_client.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_azure_net_app_files_management_client_operations.py @@ -9,110 +9,15 @@ # regenerated. # -------------------------------------------------------------------------- -from msrest.service_client import SDKClient -from msrest import Serializer, Deserializer -from msrestazure import AzureConfiguration -from .version import VERSION from msrest.pipeline import ClientRawResponse from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling +from .. import models import uuid -from .operations.operations import Operations -from .operations.accounts_operations import AccountsOperations -from .operations.pools_operations import PoolsOperations -from .operations.volumes_operations import VolumesOperations -from .operations.mount_targets_operations import MountTargetsOperations -from .operations.snapshots_operations import SnapshotsOperations -from . import models -class AzureNetAppFilesManagementClientConfiguration(AzureConfiguration): - """Configuration for AzureNetAppFilesManagementClient - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: Subscription credentials which uniquely identify - Microsoft Azure subscription. The subscription ID forms part of the URI - for every service call. - :type subscription_id: str - :param str base_url: Service URL - """ - - def __init__( - self, credentials, subscription_id, base_url=None): - - if credentials is None: - raise ValueError("Parameter 'credentials' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - if not base_url: - base_url = 'https://management.azure.com' - - super(AzureNetAppFilesManagementClientConfiguration, self).__init__(base_url) - - self.add_user_agent('azure-mgmt-netapp/{}'.format(VERSION)) - self.add_user_agent('Azure-SDK-For-Python') - - self.credentials = credentials - self.subscription_id = subscription_id - - -class AzureNetAppFilesManagementClient(SDKClient): - """Microsoft NetApp Azure Resource Provider specification - - :ivar config: Configuration for client. - :vartype config: AzureNetAppFilesManagementClientConfiguration - - :ivar operations: Operations operations - :vartype operations: azure.mgmt.netapp.operations.Operations - :ivar accounts: Accounts operations - :vartype accounts: azure.mgmt.netapp.operations.AccountsOperations - :ivar pools: Pools operations - :vartype pools: azure.mgmt.netapp.operations.PoolsOperations - :ivar volumes: Volumes operations - :vartype volumes: azure.mgmt.netapp.operations.VolumesOperations - :ivar mount_targets: MountTargets operations - :vartype mount_targets: azure.mgmt.netapp.operations.MountTargetsOperations - :ivar snapshots: Snapshots operations - :vartype snapshots: azure.mgmt.netapp.operations.SnapshotsOperations - - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: Subscription credentials which uniquely identify - Microsoft Azure subscription. The subscription ID forms part of the URI - for every service call. - :type subscription_id: str - :param str base_url: Service URL - """ - - def __init__( - self, credentials, subscription_id, base_url=None): - - self.config = AzureNetAppFilesManagementClientConfiguration(credentials, subscription_id, base_url) - super(AzureNetAppFilesManagementClient, self).__init__(self.config.credentials, self.config) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2019-06-01' - self._serialize = Serializer(client_models) - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self.config, self._serialize, self._deserialize) - self.accounts = AccountsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.pools = PoolsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.volumes = VolumesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.mount_targets = MountTargetsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.snapshots = SnapshotsOperations( - self._client, self.config, self._serialize, self._deserialize) +class AzureNetAppFilesManagementClientOperationsMixin(object): def check_name_availability( self, location, name, type, resource_group, custom_headers=None, raw=False, **operation_config): @@ -180,7 +85,6 @@ def check_name_availability( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ResourceNameAvailability', response) @@ -257,7 +161,6 @@ def check_file_path_availability( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ResourceNameAvailability', response) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_mount_targets_operations.py similarity index 91% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_mount_targets_operations.py index a1e784ff2ff8..62d57aa161ca 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_mount_targets_operations.py @@ -19,11 +19,13 @@ class MountTargetsOperations(object): """MountTargetsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-06-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-07-01". """ models = models @@ -33,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2019-07-01" self.config = config @@ -61,8 +63,7 @@ def list( ~azure.mgmt.netapp.models.MountTargetPaged[~azure.mgmt.netapp.models.MountTarget] :raises: :class:`CloudError` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -95,6 +96,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -105,12 +111,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.MountTargetPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.MountTargetPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.MountTargetPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} 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 similarity index 88% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/operations.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py index c61e14bfb0c0..9110970272c3 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 @@ -19,11 +19,13 @@ class Operations(object): """Operations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-06-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-07-01". """ models = models @@ -33,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2019-07-01" self.config = config @@ -53,8 +55,7 @@ def list( ~azure.mgmt.netapp.models.OperationPaged[~azure.mgmt.netapp.models.Operation] :raises: :class:`CloudError` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -79,6 +80,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -89,12 +95,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/providers/Microsoft.NetApp/operations'} 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 similarity index 97% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py index d8df81ab6f55..c0c61e0b836a 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 @@ -21,11 +21,13 @@ class PoolsOperations(object): """PoolsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-06-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-07-01". """ models = models @@ -35,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2019-07-01" self.config = config @@ -59,8 +61,7 @@ def list( ~azure.mgmt.netapp.models.CapacityPoolPaged[~azure.mgmt.netapp.models.CapacityPool] :raises: :class:`CloudError` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -91,6 +92,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -101,12 +107,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} @@ -167,7 +171,6 @@ def get( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('CapacityPool', response) @@ -350,7 +353,6 @@ def update( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('CapacityPool', response) 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 similarity index 98% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py index d126f356ca13..3f923b0e623b 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 @@ -21,11 +21,13 @@ class SnapshotsOperations(object): """SnapshotsOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-06-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-07-01". """ models = models @@ -35,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2019-07-01" self.config = config @@ -63,8 +65,7 @@ def list( ~azure.mgmt.netapp.models.SnapshotPaged[~azure.mgmt.netapp.models.Snapshot] :raises: :class:`CloudError` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -97,6 +98,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -107,12 +113,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.SnapshotPaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.SnapshotPaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.SnapshotPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} @@ -179,7 +183,6 @@ def get( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Snapshot', response) @@ -374,7 +377,6 @@ def update( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Snapshot', response) 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 similarity index 97% rename from sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py rename to sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py index 2dc1df212f6c..45ad3859c50c 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 @@ -21,11 +21,13 @@ class VolumesOperations(object): """VolumesOperations operations. + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-06-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2019-07-01". """ models = models @@ -35,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2019-07-01" self.config = config @@ -61,8 +63,7 @@ def list( ~azure.mgmt.netapp.models.VolumePaged[~azure.mgmt.netapp.models.Volume] :raises: :class:`CloudError` """ - def internal_paging(next_link=None, raw=False): - + def prepare_request(next_link=None): if not next_link: # Construct URL url = self.list.metadata['url'] @@ -94,6 +95,11 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -104,12 +110,10 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.VolumePaged(internal_paging, self._deserialize.dependencies) - + header_dict = None if raw: header_dict = {} - client_raw_response = models.VolumePaged(internal_paging, self._deserialize.dependencies, header_dict) - return client_raw_response + deserialized = models.VolumePaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} @@ -173,7 +177,6 @@ def get( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Volume', response) @@ -361,7 +364,6 @@ def update( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('Volume', response) 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 266f5a486d79..5a7feab42d26 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.5.0" +VERSION = "0.6.0" diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml index 59a632468fe9..01d4fe52bd07 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A37%3A12.7853117Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A01%3A21.9753657Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/568f76b4-dd70-4ae3-bbb3-15565fa3f505?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0531597b-4d4f-4342-8a9f-4098f89a2a8f?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:37:13 GMT + - Mon, 30 Sep 2019 08:01:22 GMT etag: - - W/"datetime'2019-07-02T16%3A37%3A12.7853117Z'" + - W/"datetime'2019-09-30T08%3A01%3A21.9753657Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/568f76b4-dd70-4ae3-bbb3-15565fa3f505?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0531597b-4d4f-4342-8a9f-4098f89a2a8f?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/568f76b4-dd70-4ae3-bbb3-15565fa3f505","name":"568f76b4-dd70-4ae3-bbb3-15565fa3f505","status":"Succeeded","startTime":"2019-07-02T16:37:12.6537396Z","endTime":"2019-07-02T16:37:12.9349716Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0531597b-4d4f-4342-8a9f-4098f89a2a8f","name":"0531597b-4d4f-4342-8a9f-4098f89a2a8f","status":"Succeeded","startTime":"2019-09-30T08:01:21.9343338Z","endTime":"2019-09-30T08:01:22.028111Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:37:43 GMT + - Mon, 30 Sep 2019 08:01:52 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A37%3A12.9234087Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A01%3A22.0274045Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:37:45 GMT + - Mon, 30 Sep 2019 08:01:53 GMT etag: - - W/"datetime'2019-07-02T16%3A37%3A12.9234087Z'" + - W/"datetime'2019-09-30T08%3A01%3A22.0274045Z'" expires: - '-1' pragma: @@ -166,26 +166,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A37%3A12.9234087Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A01%3A22.0274045Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '398' + - '394' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:37:45 GMT + - Mon, 30 Sep 2019 08:01:53 GMT expires: - '-1' pragma: @@ -219,30 +219,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f5803f0-cb68-4907-8f8c-af0cc9663acc?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f992a867-3e1f-4905-8ab0-3c9456f47194?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 16:37:47 GMT + - Mon, 30 Sep 2019 08:01:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f5803f0-cb68-4907-8f8c-af0cc9663acc?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f992a867-3e1f-4905-8ab0-3c9456f47194?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -270,24 +270,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f5803f0-cb68-4907-8f8c-af0cc9663acc?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f992a867-3e1f-4905-8ab0-3c9456f47194?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f5803f0-cb68-4907-8f8c-af0cc9663acc","name":"8f5803f0-cb68-4907-8f8c-af0cc9663acc","status":"Succeeded","startTime":"2019-07-02T16:37:48.2873285Z","endTime":"2019-07-02T16:37:48.4279538Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f992a867-3e1f-4905-8ab0-3c9456f47194","name":"f992a867-3e1f-4905-8ab0-3c9456f47194","status":"Succeeded","startTime":"2019-09-30T08:01:55.0895086Z","endTime":"2019-09-30T08:01:55.1988774Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:38:19 GMT + - Mon, 30 Sep 2019 08:02:25 GMT expires: - '-1' pragma: @@ -319,26 +319,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:38:21 GMT + - Mon, 30 Sep 2019 08:02:25 GMT expires: - '-1' pragma: @@ -362,18 +361,16 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[]}' + string: '{"value":[]}' headers: - access-control-expose-headers: - - Request-Context cache-control: - no-cache content-length: @@ -381,25 +378,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:38:23 GMT + - Mon, 30 Sep 2019 08:02:26 GMT expires: - '-1' pragma: - no-cache - request-context: - - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-powered-by: - - ASP.NET status: code: 200 message: OK diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml index faf4463317cd..78f17322fbc8 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A38%3A29.7566163Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A02%3A31.0404236Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/876486cb-7e76-4e39-8f28-4916188ac428?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da3089b1-96d7-4362-be7e-0070622b51e9?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:38:30 GMT + - Mon, 30 Sep 2019 08:02:31 GMT etag: - - W/"datetime'2019-07-02T16%3A38%3A29.7566163Z'" + - W/"datetime'2019-09-30T08%3A02%3A31.0404236Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/876486cb-7e76-4e39-8f28-4916188ac428?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da3089b1-96d7-4362-be7e-0070622b51e9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/876486cb-7e76-4e39-8f28-4916188ac428","name":"876486cb-7e76-4e39-8f28-4916188ac428","status":"Succeeded","startTime":"2019-07-02T16:38:29.6141889Z","endTime":"2019-07-02T16:38:29.8798425Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da3089b1-96d7-4362-be7e-0070622b51e9","name":"da3089b1-96d7-4362-be7e-0070622b51e9","status":"Succeeded","startTime":"2019-09-30T08:02:30.9672265Z","endTime":"2019-09-30T08:02:31.0921744Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:39:01 GMT + - Mon, 30 Sep 2019 08:03:03 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A38%3A29.8807034Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A02%3A31.0914592Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:39:04 GMT + - Mon, 30 Sep 2019 08:03:03 GMT etag: - - W/"datetime'2019-07-02T16%3A38%3A29.8807034Z'" + - W/"datetime'2019-09-30T08%3A02%3A31.0914592Z'" expires: - '-1' pragma: @@ -166,28 +166,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A38%3A29.8807034Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A02%3A31.0914592Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:39:05 GMT + - Mon, 30 Sep 2019 08:03:03 GMT etag: - - W/"datetime'2019-07-02T16%3A38%3A29.8807034Z'" + - W/"datetime'2019-09-30T08%3A02%3A31.0914592Z'" expires: - '-1' pragma: @@ -221,30 +221,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/09967400-d1a6-447d-b3eb-d93a6f8fafef?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2670a74a-ec8e-4fcd-af9d-a53038fd2ea0?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 16:39:08 GMT + - Mon, 30 Sep 2019 08:03:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/09967400-d1a6-447d-b3eb-d93a6f8fafef?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2670a74a-ec8e-4fcd-af9d-a53038fd2ea0?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -272,24 +272,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/09967400-d1a6-447d-b3eb-d93a6f8fafef?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2670a74a-ec8e-4fcd-af9d-a53038fd2ea0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/09967400-d1a6-447d-b3eb-d93a6f8fafef","name":"09967400-d1a6-447d-b3eb-d93a6f8fafef","status":"Succeeded","startTime":"2019-07-02T16:39:08.1642807Z","endTime":"2019-07-02T16:39:08.3205342Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2670a74a-ec8e-4fcd-af9d-a53038fd2ea0","name":"2670a74a-ec8e-4fcd-af9d-a53038fd2ea0","status":"Succeeded","startTime":"2019-09-30T08:03:04.8073862Z","endTime":"2019-09-30T08:03:04.8854279Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:39:40 GMT + - Mon, 30 Sep 2019 08:03:35 GMT expires: - '-1' pragma: @@ -321,26 +321,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:39:41 GMT + - Mon, 30 Sep 2019 08:03:36 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml index 4dbb3fe3e3e9..1a76ce37ed4c 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A39%3A47.8517188Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A03%3A40.738938Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/650da5f8-4a84-4673-aa26-b215988ce661?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/aa702dad-558d-4621-bd32-e24fe2725c6e?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '381' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:39:47 GMT + - Mon, 30 Sep 2019 08:03:41 GMT etag: - - W/"datetime'2019-07-02T16%3A39%3A47.8517188Z'" + - W/"datetime'2019-09-30T08%3A03%3A40.738938Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/650da5f8-4a84-4673-aa26-b215988ce661?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/aa702dad-558d-4621-bd32-e24fe2725c6e?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/650da5f8-4a84-4673-aa26-b215988ce661","name":"650da5f8-4a84-4673-aa26-b215988ce661","status":"Succeeded","startTime":"2019-07-02T16:39:47.7121673Z","endTime":"2019-07-02T16:39:47.9777928Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/aa702dad-558d-4621-bd32-e24fe2725c6e","name":"aa702dad-558d-4621-bd32-e24fe2725c6e","status":"Succeeded","startTime":"2019-09-30T08:03:40.5437876Z","endTime":"2019-09-30T08:03:40.7781571Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:40:19 GMT + - Mon, 30 Sep 2019 08:04:12 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A39%3A47.9748061Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A03%3A40.7869749Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:40:20 GMT + - Mon, 30 Sep 2019 08:04:12 GMT etag: - - W/"datetime'2019-07-02T16%3A39%3A47.9748061Z'" + - W/"datetime'2019-09-30T08%3A03%3A40.7869749Z'" expires: - '-1' pragma: @@ -157,7 +157,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -170,30 +170,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A40%3A24.603774Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A04%3A14.5144152Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-2","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f6a08bea-484a-43c1-8883-49af2a70f859?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/59ff9dad-180c-4358-a220-a94da57f4fb3?api-version=2019-07-01 cache-control: - no-cache content-length: - - '385' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:40:25 GMT + - Mon, 30 Sep 2019 08:04:14 GMT etag: - - W/"datetime'2019-07-02T16%3A40%3A24.603774Z'" + - W/"datetime'2019-09-30T08%3A04%3A14.5144152Z'" expires: - '-1' pragma: @@ -223,24 +223,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f6a08bea-484a-43c1-8883-49af2a70f859?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/59ff9dad-180c-4358-a220-a94da57f4fb3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f6a08bea-484a-43c1-8883-49af2a70f859","name":"f6a08bea-484a-43c1-8883-49af2a70f859","status":"Succeeded","startTime":"2019-07-02T16:40:24.4569023Z","endTime":"2019-07-02T16:40:24.7381526Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/59ff9dad-180c-4358-a220-a94da57f4fb3","name":"59ff9dad-180c-4358-a220-a94da57f4fb3","status":"Succeeded","startTime":"2019-09-30T08:04:14.3672927Z","endTime":"2019-09-30T08:04:14.55479Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '515' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:40:56 GMT + - Mon, 30 Sep 2019 08:04:46 GMT expires: - '-1' pragma: @@ -272,26 +272,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A40%3A24.7298624Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A04%3A14.5614488Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-2","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:40:57 GMT + - Mon, 30 Sep 2019 08:04:46 GMT etag: - - W/"datetime'2019-07-02T16%3A40%3A24.7298624Z'" + - W/"datetime'2019-09-30T08%3A04%3A14.5614488Z'" expires: - '-1' pragma: @@ -323,26 +323,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A39%3A47.9748061Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A40%3A24.7298624Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-2"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A03%3A40.7869749Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A04%3A14.5614488Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-2","provisioningState":"Succeeded"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '785' + - '777' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:41:00 GMT + - Mon, 30 Sep 2019 08:04:46 GMT expires: - '-1' pragma: @@ -376,30 +376,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/624cb7ab-cbe9-4d4e-adee-d6cc960d77cb?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c7d45415-f3e7-4ebe-8419-5926b6ae8ddf?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 16:41:01 GMT + - Mon, 30 Sep 2019 08:04:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/624cb7ab-cbe9-4d4e-adee-d6cc960d77cb?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c7d45415-f3e7-4ebe-8419-5926b6ae8ddf?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -427,24 +427,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/624cb7ab-cbe9-4d4e-adee-d6cc960d77cb?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c7d45415-f3e7-4ebe-8419-5926b6ae8ddf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/624cb7ab-cbe9-4d4e-adee-d6cc960d77cb","name":"624cb7ab-cbe9-4d4e-adee-d6cc960d77cb","status":"Succeeded","startTime":"2019-07-02T16:41:02.6288909Z","endTime":"2019-07-02T16:41:02.7694944Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c7d45415-f3e7-4ebe-8419-5926b6ae8ddf","name":"c7d45415-f3e7-4ebe-8419-5926b6ae8ddf","status":"Succeeded","startTime":"2019-09-30T08:04:47.607518Z","endTime":"2019-09-30T08:04:48.6075184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:41:34 GMT + - Mon, 30 Sep 2019 08:05:18 GMT expires: - '-1' pragma: @@ -476,26 +476,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:41:36 GMT + - Mon, 30 Sep 2019 08:05:19 GMT expires: - '-1' pragma: @@ -521,30 +520,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da6390ec-a62c-4d3f-bb56-5159bd96bf0f?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/04bc1e33-7a99-4ea5-a773-c02d329feaa3?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 16:41:39 GMT + - Mon, 30 Sep 2019 08:05:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da6390ec-a62c-4d3f-bb56-5159bd96bf0f?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/04bc1e33-7a99-4ea5-a773-c02d329feaa3?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -572,24 +571,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da6390ec-a62c-4d3f-bb56-5159bd96bf0f?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/04bc1e33-7a99-4ea5-a773-c02d329feaa3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da6390ec-a62c-4d3f-bb56-5159bd96bf0f","name":"da6390ec-a62c-4d3f-bb56-5159bd96bf0f","status":"Succeeded","startTime":"2019-07-02T16:41:39.7046507Z","endTime":"2019-07-02T16:41:39.9234227Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/04bc1e33-7a99-4ea5-a773-c02d329feaa3","name":"04bc1e33-7a99-4ea5-a773-c02d329feaa3","status":"Succeeded","startTime":"2019-09-30T08:05:19.9503429Z","endTime":"2019-09-30T08:05:20.044061Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:42:12 GMT + - Mon, 30 Sep 2019 08:05:51 GMT expires: - '-1' pragma: @@ -621,26 +620,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:42:13 GMT + - Mon, 30 Sep 2019 08:05:50 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml index 2f06e8636ae8..d40c02a3c59d 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A42%3A23.0651334Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A05%3A55.5318701Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8a78f7cf-4f49-41a5-89cd-1f4c01e8afb2?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d2c5fd6f-5904-4468-b143-d74c57afb3d0?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:42:23 GMT + - Mon, 30 Sep 2019 08:05:56 GMT etag: - - W/"datetime'2019-07-02T16%3A42%3A23.0651334Z'" + - W/"datetime'2019-09-30T08%3A05%3A55.5318701Z'" expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8a78f7cf-4f49-41a5-89cd-1f4c01e8afb2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d2c5fd6f-5904-4468-b143-d74c57afb3d0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8a78f7cf-4f49-41a5-89cd-1f4c01e8afb2","name":"8a78f7cf-4f49-41a5-89cd-1f4c01e8afb2","status":"Succeeded","startTime":"2019-07-02T16:42:22.9320685Z","endTime":"2019-07-02T16:42:23.1976987Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d2c5fd6f-5904-4468-b143-d74c57afb3d0","name":"d2c5fd6f-5904-4468-b143-d74c57afb3d0","status":"Succeeded","startTime":"2019-09-30T08:05:55.4917775Z","endTime":"2019-09-30T08:05:55.6012154Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:42:58 GMT + - Mon, 30 Sep 2019 08:06:27 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A42%3A23.1892209Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A05%3A55.5949154Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:43:02 GMT + - Mon, 30 Sep 2019 08:06:27 GMT etag: - - W/"datetime'2019-07-02T16%3A42%3A23.1892209Z'" + - W/"datetime'2019-09-30T08%3A05%3A55.5949154Z'" expires: - '-1' pragma: @@ -157,7 +157,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"tags": {"Tag1": "Value2"}}' + body: '{"tags": {"Tag1": "Value2"}}' headers: Accept: - application/json @@ -170,28 +170,28 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T16%3A43%3A07.3673961Z''\"","location":"westcentralus","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A06%3A28.3023837Z''\"","location":"westcentralus","tags":{"Tag1":"Value2"},"properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '411' + - '407' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:43:08 GMT + - Mon, 30 Sep 2019 08:06:28 GMT etag: - - W/"datetime'2019-07-02T16%3A43%3A07.3673961Z'" + - W/"datetime'2019-09-30T08%3A06%3A28.3023837Z'" expires: - '-1' pragma: @@ -227,30 +227,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbcf80d6-1fb2-443e-9082-15e5743498f3?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/226ee11e-e276-4273-b5c1-eec3ad4de35e?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 16:43:12 GMT + - Mon, 30 Sep 2019 08:06:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbcf80d6-1fb2-443e-9082-15e5743498f3?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/226ee11e-e276-4273-b5c1-eec3ad4de35e?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -278,24 +278,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbcf80d6-1fb2-443e-9082-15e5743498f3?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/226ee11e-e276-4273-b5c1-eec3ad4de35e?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbcf80d6-1fb2-443e-9082-15e5743498f3","name":"dbcf80d6-1fb2-443e-9082-15e5743498f3","status":"Succeeded","startTime":"2019-07-02T16:43:12.6225426Z","endTime":"2019-07-02T16:43:12.763171Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/226ee11e-e276-4273-b5c1-eec3ad4de35e","name":"226ee11e-e276-4273-b5c1-eec3ad4de35e","status":"Succeeded","startTime":"2019-09-30T08:06:29.803747Z","endTime":"2019-09-30T08:06:29.8818699Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '520' + - '516' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:43:45 GMT + - Mon, 30 Sep 2019 08:07:01 GMT expires: - '-1' pragma: @@ -327,26 +327,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 16:43:50 GMT + - Mon, 30 Sep 2019 08:07:00 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_mounttarget.test_list_mount_target.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_mounttarget.test_list_mount_target.yaml index c2199c8cc232..5a72c5ac9fb5 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_mounttarget.test_list_mount_target.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_mounttarget.test_list_mount_target.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A03%3A50.8825017Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A32%3A52.4590011Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2f8e7442-6ce5-49cd-bff2-329431d82362?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c9865d2c-6b00-4ebe-bec5-9e376b337f4f?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:03:51 GMT + - Fri, 27 Sep 2019 12:32:52 GMT etag: - - W/"datetime'2019-07-02T23%3A03%3A50.8825017Z'" + - W/"datetime'2019-09-27T12%3A32%3A52.4590011Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2f8e7442-6ce5-49cd-bff2-329431d82362?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c9865d2c-6b00-4ebe-bec5-9e376b337f4f?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2f8e7442-6ce5-49cd-bff2-329431d82362","name":"2f8e7442-6ce5-49cd-bff2-329431d82362","status":"Succeeded","startTime":"2019-07-02T23:03:50.7376591Z","endTime":"2019-07-02T23:03:51.0740124Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c9865d2c-6b00-4ebe-bec5-9e376b337f4f","name":"c9865d2c-6b00-4ebe-bec5-9e376b337f4f","status":"Succeeded","startTime":"2019-09-27T12:32:52.3590335Z","endTime":"2019-09-27T12:32:52.5464766Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:04:21 GMT + - Fri, 27 Sep 2019 12:33:23 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A03%3A51.0506202Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A32%3A52.5500669Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:04:23 GMT + - Fri, 27 Sep 2019 12:33:24 GMT etag: - - W/"datetime'2019-07-02T23%3A03%3A51.0506202Z'" + - W/"datetime'2019-09-27T12%3A32%3A52.5500669Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A04%3A26.6147271Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A33%3A26.2112479Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/20d0ac63-b256-4de7-a71b-933f42c5bc8c?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/877b2ebf-d197-4c9a-b70a-531b30ba96d1?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:04:27 GMT + - Fri, 27 Sep 2019 12:33:26 GMT etag: - - W/"datetime'2019-07-02T23%3A04%3A26.6147271Z'" + - W/"datetime'2019-09-27T12%3A33%3A26.2112479Z'" expires: - '-1' pragma: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/20d0ac63-b256-4de7-a71b-933f42c5bc8c?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/877b2ebf-d197-4c9a-b70a-531b30ba96d1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/20d0ac63-b256-4de7-a71b-933f42c5bc8c","name":"20d0ac63-b256-4de7-a71b-933f42c5bc8c","status":"Succeeded","startTime":"2019-07-02T23:04:26.4756019Z","endTime":"2019-07-02T23:04:27.3818352Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/877b2ebf-d197-4c9a-b70a-531b30ba96d1","name":"877b2ebf-d197-4c9a-b70a-531b30ba96d1","status":"Succeeded","startTime":"2019-09-27T12:33:26.1179079Z","endTime":"2019-09-27T12:33:26.5628461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:04:57 GMT + - Fri, 27 Sep 2019 12:33:58 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A04%3A27.3732623Z''\"","location":"westcentralus","properties":{"poolId":"e1297a6c-f166-da05-391b-c5a4184a0e3e","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A33%3A26.5625002Z''\"","location":"westcentralus","properties":{"poolId":"d28d5cea-ff2f-f089-57f8-29f46fa26156","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:04:59 GMT + - Fri, 27 Sep 2019 12:33:58 GMT etag: - - W/"datetime'2019-07-02T23%3A04%3A27.3732623Z'" + - W/"datetime'2019-09-27T12%3A33%3A26.5625002Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A05%3A02.857313Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A34%3A00.3908029Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 cache-control: - no-cache content-length: - - '757' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:05:02 GMT + - Fri, 27 Sep 2019 12:34:01 GMT etag: - - W/"datetime'2019-07-02T23%3A05%3A02.857313Z'" + - W/"datetime'2019-09-27T12%3A34%3A00.3908029Z'" expires: - '-1' pragma: @@ -370,7 +369,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5","name":"66d70385-d35a-4dd5-91e4-80631407e8e5","status":"Creating","startTime":"2019-07-02T23:05:02.7184758Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf","name":"94ba6238-c566-4162-b40c-019f1c13adaf","status":"Creating","startTime":"2019-09-27T12:34:00.3454933Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:05:34 GMT + - Fri, 27 Sep 2019 12:34:32 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5","name":"66d70385-d35a-4dd5-91e4-80631407e8e5","status":"Creating","startTime":"2019-07-02T23:05:02.7184758Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf","name":"94ba6238-c566-4162-b40c-019f1c13adaf","status":"Creating","startTime":"2019-09-27T12:34:00.3454933Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:06:05 GMT + - Fri, 27 Sep 2019 12:35:02 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5","name":"66d70385-d35a-4dd5-91e4-80631407e8e5","status":"Creating","startTime":"2019-07-02T23:05:02.7184758Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf","name":"94ba6238-c566-4162-b40c-019f1c13adaf","status":"Creating","startTime":"2019-09-27T12:34:00.3454933Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:06:36 GMT + - Fri, 27 Sep 2019 12:35:32 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5","name":"66d70385-d35a-4dd5-91e4-80631407e8e5","status":"Creating","startTime":"2019-07-02T23:05:02.7184758Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf","name":"94ba6238-c566-4162-b40c-019f1c13adaf","status":"Creating","startTime":"2019-09-27T12:34:00.3454933Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:07:07 GMT + - Fri, 27 Sep 2019 12:36:02 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5","name":"66d70385-d35a-4dd5-91e4-80631407e8e5","status":"Creating","startTime":"2019-07-02T23:05:02.7184758Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf","name":"94ba6238-c566-4162-b40c-019f1c13adaf","status":"Creating","startTime":"2019-09-27T12:34:00.3454933Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:07:38 GMT + - Fri, 27 Sep 2019 12:36:34 GMT expires: - '-1' pragma: @@ -631,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/66d70385-d35a-4dd5-91e4-80631407e8e5","name":"66d70385-d35a-4dd5-91e4-80631407e8e5","status":"Succeeded","startTime":"2019-07-02T23:05:02.7184758Z","endTime":"2019-07-02T23:07:42.010158Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94ba6238-c566-4162-b40c-019f1c13adaf","name":"94ba6238-c566-4162-b40c-019f1c13adaf","status":"Succeeded","startTime":"2019-09-27T12:34:00.3454933Z","endTime":"2019-09-27T12:36:58.0399251Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '581' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:08:09 GMT + - Fri, 27 Sep 2019 12:37:04 GMT expires: - '-1' pragma: @@ -680,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A07%3A42.0075587Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"fa03d924-e769-35d4-ac28-d4b7b3392acf","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_4f5f3328","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"31107260-e578-f62d-bfec-2bd6fbcddff6","fileSystemId":"fa03d924-e769-35d4-ac28-d4b7b3392acf","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A36%3A58.040503Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"bec57d01-4664-6423-71f0-cb29336012eb","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_b660c06e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"bb16c6a3-f94f-5053-1190-a439140ec909","fileSystemId":"bec57d01-4664-6423-71f0-cb29336012eb","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1405' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:08:10 GMT + - Fri, 27 Sep 2019 12:37:04 GMT etag: - - W/"datetime'2019-07-02T23%3A07%3A42.0075587Z'" + - W/"datetime'2019-09-27T12%3A36%3A58.040503Z'" expires: - '-1' pragma: @@ -731,26 +730,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/mountTargets?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/mountTargets?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/mountTargets/31107260-e578-f62d-bfec-2bd6fbcddff6","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/31107260-e578-f62d-bfec-2bd6fbcddff6","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westcentralus","properties":{"provisioningState":"Succeeded","mountTargetId":"31107260-e578-f62d-bfec-2bd6fbcddff6","fileSystemId":"fa03d924-e769-35d4-ac28-d4b7b3392acf","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/mountTargets/bb16c6a3-f94f-5053-1190-a439140ec909","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/bb16c6a3-f94f-5053-1190-a439140ec909","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westcentralus","properties":{"provisioningState":"Succeeded","mountTargetId":"bb16c6a3-f94f-5053-1190-a439140ec909","fileSystemId":"bec57d01-4664-6423-71f0-cb29336012eb","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '759' + - '728' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:08:11 GMT + - Fri, 27 Sep 2019 12:37:05 GMT expires: - '-1' pragma: @@ -784,30 +783,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:08:14 GMT + - Fri, 27 Sep 2019 12:37:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -835,24 +834,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8","name":"0c5050ba-f1f8-41f5-ae3a-67e587e919a8","status":"Deleting","startTime":"2019-07-02T23:08:14.0750599Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2","name":"a75667fb-65ea-40e3-a021-5d5d075983b2","status":"Deleting","startTime":"2019-09-27T12:37:07.2058944Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:08:45 GMT + - Fri, 27 Sep 2019 12:37:37 GMT expires: - '-1' pragma: @@ -884,24 +883,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8","name":"0c5050ba-f1f8-41f5-ae3a-67e587e919a8","status":"Deleting","startTime":"2019-07-02T23:08:14.0750599Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2","name":"a75667fb-65ea-40e3-a021-5d5d075983b2","status":"Deleting","startTime":"2019-09-27T12:37:07.2058944Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:09:16 GMT + - Fri, 27 Sep 2019 12:38:08 GMT expires: - '-1' pragma: @@ -933,24 +932,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c5050ba-f1f8-41f5-ae3a-67e587e919a8","name":"0c5050ba-f1f8-41f5-ae3a-67e587e919a8","status":"Succeeded","startTime":"2019-07-02T23:08:14.0750599Z","endTime":"2019-07-02T23:09:21.0618609Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a75667fb-65ea-40e3-a021-5d5d075983b2","name":"a75667fb-65ea-40e3-a021-5d5d075983b2","status":"Succeeded","startTime":"2019-09-27T12:37:07.2058944Z","endTime":"2019-09-27T12:38:14.6646106Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:09:46 GMT + - Fri, 27 Sep 2019 12:38:39 GMT expires: - '-1' pragma: @@ -982,26 +981,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:09:48 GMT + - Fri, 27 Sep 2019 12:38:39 GMT expires: - '-1' pragma: @@ -1027,30 +1025,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24d71d95-3d11-44d0-a2eb-c19368e576f7?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf24a4ed-02ed-43ec-8946-8611613ad9f7?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:09:49 GMT + - Fri, 27 Sep 2019 12:38:40 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24d71d95-3d11-44d0-a2eb-c19368e576f7?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf24a4ed-02ed-43ec-8946-8611613ad9f7?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1078,24 +1076,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24d71d95-3d11-44d0-a2eb-c19368e576f7?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf24a4ed-02ed-43ec-8946-8611613ad9f7?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24d71d95-3d11-44d0-a2eb-c19368e576f7","name":"24d71d95-3d11-44d0-a2eb-c19368e576f7","status":"Succeeded","startTime":"2019-07-02T23:09:50.0824589Z","endTime":"2019-07-02T23:09:50.3793294Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf24a4ed-02ed-43ec-8946-8611613ad9f7","name":"bf24a4ed-02ed-43ec-8946-8611613ad9f7","status":"Succeeded","startTime":"2019-09-27T12:38:41.1787572Z","endTime":"2019-09-27T12:38:41.4131057Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:10:20 GMT + - Fri, 27 Sep 2019 12:39:12 GMT expires: - '-1' pragma: @@ -1127,26 +1125,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:10:21 GMT + - Fri, 27 Sep 2019 12:39:12 GMT expires: - '-1' pragma: @@ -1172,30 +1169,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/51455ec4-6326-483b-85ac-58ee7a39b911?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a0609926-ad5f-46ec-b5fd-3b47459feb5b?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:10:23 GMT + - Fri, 27 Sep 2019 12:39:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/51455ec4-6326-483b-85ac-58ee7a39b911?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a0609926-ad5f-46ec-b5fd-3b47459feb5b?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1223,24 +1220,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/51455ec4-6326-483b-85ac-58ee7a39b911?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a0609926-ad5f-46ec-b5fd-3b47459feb5b?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/51455ec4-6326-483b-85ac-58ee7a39b911","name":"51455ec4-6326-483b-85ac-58ee7a39b911","status":"Succeeded","startTime":"2019-07-02T23:10:23.5202118Z","endTime":"2019-07-02T23:10:23.7076884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a0609926-ad5f-46ec-b5fd-3b47459feb5b","name":"a0609926-ad5f-46ec-b5fd-3b47459feb5b","status":"Succeeded","startTime":"2019-09-27T12:39:13.5361262Z","endTime":"2019-09-27T12:39:13.6121612Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:10:54 GMT + - Fri, 27 Sep 2019 12:39:44 GMT expires: - '-1' pragma: @@ -1272,26 +1269,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:10:55 GMT + - Fri, 27 Sep 2019 12:39:45 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml index 89eb4ece1080..7254cc3b5875 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T08%3A52%3A04.0730992Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A09%3A15.3385115Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c919ce1-c7d9-4772-9fa4-bcf28ccdf063?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dda14ecc-b129-46d6-83ae-c0c9a7c9144c?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:52:04 GMT + - Mon, 30 Sep 2019 08:09:15 GMT etag: - - W/"datetime'2019-07-03T08%3A52%3A04.0730992Z'" + - W/"datetime'2019-09-30T08%3A09%3A15.3385115Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c919ce1-c7d9-4772-9fa4-bcf28ccdf063?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dda14ecc-b129-46d6-83ae-c0c9a7c9144c?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c919ce1-c7d9-4772-9fa4-bcf28ccdf063","name":"9c919ce1-c7d9-4772-9fa4-bcf28ccdf063","status":"Succeeded","startTime":"2019-07-03T08:52:03.8912207Z","endTime":"2019-07-03T08:52:04.2036996Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dda14ecc-b129-46d6-83ae-c0c9a7c9144c","name":"dda14ecc-b129-46d6-83ae-c0c9a7c9144c","status":"Succeeded","startTime":"2019-09-30T08:09:15.2801382Z","endTime":"2019-09-30T08:09:15.4207839Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:52:37 GMT + - Mon, 30 Sep 2019 08:09:46 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T08%3A52%3A04.2041912Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A09%3A15.407561Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '381' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:52:38 GMT + - Mon, 30 Sep 2019 08:09:46 GMT etag: - - W/"datetime'2019-07-03T08%3A52%3A04.2041912Z'" + - W/"datetime'2019-09-30T08%3A09%3A15.407561Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A52%3A41.7826888Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A09%3A48.8128451Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9d605b7f-2b88-443f-82b1-952da1641b7e?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c98fd454-fedc-4c8c-8d5e-848506dd313d?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:52:42 GMT + - Mon, 30 Sep 2019 08:09:49 GMT etag: - - W/"datetime'2019-07-03T08%3A52%3A41.7826888Z'" + - W/"datetime'2019-09-30T08%3A09%3A48.8128451Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9d605b7f-2b88-443f-82b1-952da1641b7e?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c98fd454-fedc-4c8c-8d5e-848506dd313d?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9d605b7f-2b88-443f-82b1-952da1641b7e","name":"9d605b7f-2b88-443f-82b1-952da1641b7e","status":"Succeeded","startTime":"2019-07-03T08:52:41.6685007Z","endTime":"2019-07-03T08:52:42.1997505Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c98fd454-fedc-4c8c-8d5e-848506dd313d","name":"c98fd454-fedc-4c8c-8d5e-848506dd313d","status":"Succeeded","startTime":"2019-09-30T08:09:48.7482976Z","endTime":"2019-09-30T08:09:49.2482974Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:53:13 GMT + - Mon, 30 Sep 2019 08:10:19 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A52%3A42.1909767Z''\"","location":"westcentralus","properties":{"poolId":"25ef3993-7a36-140a-ad9d-2e2270643e0f","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A09%3A49.203128Z''\"","location":"westcentralus","properties":{"poolId":"701b5eef-5c94-6fef-74fe-891da90368cd","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '563' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:53:14 GMT + - Mon, 30 Sep 2019 08:10:20 GMT etag: - - W/"datetime'2019-07-03T08%3A52%3A42.1909767Z'" + - W/"datetime'2019-09-30T08%3A09%3A49.203128Z'" expires: - '-1' pragma: @@ -326,26 +326,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A52%3A42.1909767Z''\"","location":"westcentralus","properties":{"poolId":"25ef3993-7a36-140a-ad9d-2e2270643e0f","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A09%3A49.203128Z''\"","location":"westcentralus","properties":{"poolId":"701b5eef-5c94-6fef-74fe-891da90368cd","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '580' + - '575' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:53:15 GMT + - Mon, 30 Sep 2019 08:10:20 GMT expires: - '-1' pragma: @@ -379,30 +379,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/55039c9a-eaa7-4175-bfc0-bbbcac97793b?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e15d73a4-c07b-4d84-b0bc-677a40006235?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 08:53:18 GMT + - Mon, 30 Sep 2019 08:10:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/55039c9a-eaa7-4175-bfc0-bbbcac97793b?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e15d73a4-c07b-4d84-b0bc-677a40006235?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -430,24 +430,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/55039c9a-eaa7-4175-bfc0-bbbcac97793b?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e15d73a4-c07b-4d84-b0bc-677a40006235?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/55039c9a-eaa7-4175-bfc0-bbbcac97793b","name":"55039c9a-eaa7-4175-bfc0-bbbcac97793b","status":"Succeeded","startTime":"2019-07-03T08:53:17.8706524Z","endTime":"2019-07-03T08:53:18.7822955Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e15d73a4-c07b-4d84-b0bc-677a40006235","name":"e15d73a4-c07b-4d84-b0bc-677a40006235","status":"Succeeded","startTime":"2019-09-30T08:10:22.6415331Z","endTime":"2019-09-30T08:10:22.8472569Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:53:49 GMT + - Mon, 30 Sep 2019 08:10:52 GMT expires: - '-1' pragma: @@ -479,15 +479,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[]}' + string: '{"value":[]}' headers: access-control-expose-headers: - Request-Context @@ -498,7 +498,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:53:50 GMT + - Mon, 30 Sep 2019 08:10:53 GMT expires: - '-1' pragma: @@ -530,26 +530,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:54:01 GMT + - Mon, 30 Sep 2019 08:11:03 GMT expires: - '-1' pragma: @@ -575,30 +574,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/820ebc9d-ef96-48a2-9376-2a2091976387?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5bd33e7f-3554-44e2-9108-421e399c7179?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 08:54:03 GMT + - Mon, 30 Sep 2019 08:11:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/820ebc9d-ef96-48a2-9376-2a2091976387?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5bd33e7f-3554-44e2-9108-421e399c7179?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -610,7 +609,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' x-powered-by: - ASP.NET status: @@ -626,24 +625,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/820ebc9d-ef96-48a2-9376-2a2091976387?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5bd33e7f-3554-44e2-9108-421e399c7179?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/820ebc9d-ef96-48a2-9376-2a2091976387","name":"820ebc9d-ef96-48a2-9376-2a2091976387","status":"Succeeded","startTime":"2019-07-03T08:54:03.2935098Z","endTime":"2019-07-03T08:54:03.4653775Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5bd33e7f-3554-44e2-9108-421e399c7179","name":"5bd33e7f-3554-44e2-9108-421e399c7179","status":"Succeeded","startTime":"2019-09-30T08:11:04.3023192Z","endTime":"2019-09-30T08:11:04.380434Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:54:34 GMT + - Mon, 30 Sep 2019 08:11:35 GMT expires: - '-1' pragma: @@ -675,26 +674,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:54:37 GMT + - Mon, 30 Sep 2019 08:11:37 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml index dccfb68bdf09..2bcf6d01cbfc 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T08%3A54%3A41.9023886Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A11%3A42.2365912Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0e1d4474-1f2f-45bd-b001-67e6c1127e5b?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e3c9f2cf-376e-452d-8d4f-f510d4c357d7?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:54:41 GMT + - Mon, 30 Sep 2019 08:11:42 GMT etag: - - W/"datetime'2019-07-03T08%3A54%3A41.9023886Z'" + - W/"datetime'2019-09-30T08%3A11%3A42.2365912Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0e1d4474-1f2f-45bd-b001-67e6c1127e5b?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e3c9f2cf-376e-452d-8d4f-f510d4c357d7?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0e1d4474-1f2f-45bd-b001-67e6c1127e5b","name":"0e1d4474-1f2f-45bd-b001-67e6c1127e5b","status":"Succeeded","startTime":"2019-07-03T08:54:41.7547305Z","endTime":"2019-07-03T08:54:42.0203318Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e3c9f2cf-376e-452d-8d4f-f510d4c357d7","name":"e3c9f2cf-376e-452d-8d4f-f510d4c357d7","status":"Succeeded","startTime":"2019-09-30T08:11:42.2018304Z","endTime":"2019-09-30T08:11:42.2955795Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:55:13 GMT + - Mon, 30 Sep 2019 08:12:13 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T08%3A54%3A42.0254754Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A11%3A42.289631Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '381' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:55:14 GMT + - Mon, 30 Sep 2019 08:12:13 GMT etag: - - W/"datetime'2019-07-03T08%3A54%3A42.0254754Z'" + - W/"datetime'2019-09-30T08%3A11%3A42.289631Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A55%3A17.6355855Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A12%3A15.6316025Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c758cb57-da2b-4110-a442-a89ec08f01d0?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/df528e3c-ea74-4dbf-ae01-d42ccc9f436e?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:55:18 GMT + - Mon, 30 Sep 2019 08:12:15 GMT etag: - - W/"datetime'2019-07-03T08%3A55%3A17.6355855Z'" + - W/"datetime'2019-09-30T08%3A12%3A15.6316025Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c758cb57-da2b-4110-a442-a89ec08f01d0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/df528e3c-ea74-4dbf-ae01-d42ccc9f436e?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c758cb57-da2b-4110-a442-a89ec08f01d0","name":"c758cb57-da2b-4110-a442-a89ec08f01d0","status":"Succeeded","startTime":"2019-07-03T08:55:17.4974094Z","endTime":"2019-07-03T08:55:18.0911607Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/df528e3c-ea74-4dbf-ae01-d42ccc9f436e","name":"df528e3c-ea74-4dbf-ae01-d42ccc9f436e","status":"Succeeded","startTime":"2019-09-30T08:12:15.5925443Z","endTime":"2019-09-30T08:12:15.9733376Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:55:48 GMT + - Mon, 30 Sep 2019 08:12:47 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A55%3A18.0939083Z''\"","location":"westcentralus","properties":{"poolId":"90a6548f-add3-b683-7482-c19de89ae200","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A12%3A15.9638507Z''\"","location":"westcentralus","properties":{"poolId":"61c35bd7-3f93-7436-744c-a74783ee34fd","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:55:50 GMT + - Mon, 30 Sep 2019 08:12:47 GMT etag: - - W/"datetime'2019-07-03T08%3A55%3A18.0939083Z'" + - W/"datetime'2019-09-30T08%3A12%3A15.9638507Z'" expires: - '-1' pragma: @@ -326,28 +326,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A55%3A18.0939083Z''\"","location":"westcentralus","properties":{"poolId":"90a6548f-add3-b683-7482-c19de89ae200","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A12%3A15.9638507Z''\"","location":"westcentralus","properties":{"poolId":"61c35bd7-3f93-7436-744c-a74783ee34fd","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:55:50 GMT + - Mon, 30 Sep 2019 08:12:47 GMT etag: - - W/"datetime'2019-07-03T08%3A55%3A18.0939083Z'" + - W/"datetime'2019-09-30T08%3A12%3A15.9638507Z'" expires: - '-1' pragma: @@ -381,30 +381,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c0f151ee-9d7a-447f-a764-197da0674c22?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6713f7c7-8173-4752-b4c3-a2b70f6e0fca?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 08:55:53 GMT + - Mon, 30 Sep 2019 08:12:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c0f151ee-9d7a-447f-a764-197da0674c22?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6713f7c7-8173-4752-b4c3-a2b70f6e0fca?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -432,24 +432,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c0f151ee-9d7a-447f-a764-197da0674c22?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6713f7c7-8173-4752-b4c3-a2b70f6e0fca?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c0f151ee-9d7a-447f-a764-197da0674c22","name":"c0f151ee-9d7a-447f-a764-197da0674c22","status":"Succeeded","startTime":"2019-07-03T08:55:53.5538799Z","endTime":"2019-07-03T08:55:53.8038779Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6713f7c7-8173-4752-b4c3-a2b70f6e0fca","name":"6713f7c7-8173-4752-b4c3-a2b70f6e0fca","status":"Succeeded","startTime":"2019-09-30T08:12:49.4037877Z","endTime":"2019-09-30T08:12:49.5287928Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:56:24 GMT + - Mon, 30 Sep 2019 08:13:20 GMT expires: - '-1' pragma: @@ -481,26 +481,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:56:35 GMT + - Mon, 30 Sep 2019 08:13:30 GMT expires: - '-1' pragma: @@ -526,30 +525,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/21c0ffb1-4f07-4563-9b1c-b3438ccb8475?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f8cd701e-d81a-44ee-8323-fb5b01fc2c01?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 08:56:36 GMT + - Mon, 30 Sep 2019 08:13:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/21c0ffb1-4f07-4563-9b1c-b3438ccb8475?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f8cd701e-d81a-44ee-8323-fb5b01fc2c01?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -561,7 +560,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' x-powered-by: - ASP.NET status: @@ -577,24 +576,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/21c0ffb1-4f07-4563-9b1c-b3438ccb8475?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f8cd701e-d81a-44ee-8323-fb5b01fc2c01?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/21c0ffb1-4f07-4563-9b1c-b3438ccb8475","name":"21c0ffb1-4f07-4563-9b1c-b3438ccb8475","status":"Succeeded","startTime":"2019-07-03T08:56:37.5317872Z","endTime":"2019-07-03T08:56:37.7036528Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f8cd701e-d81a-44ee-8323-fb5b01fc2c01","name":"f8cd701e-d81a-44ee-8323-fb5b01fc2c01","status":"Succeeded","startTime":"2019-09-30T08:13:31.5585054Z","endTime":"2019-09-30T08:13:31.6367196Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:57:08 GMT + - Mon, 30 Sep 2019 08:14:02 GMT expires: - '-1' pragma: @@ -626,26 +625,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:57:11 GMT + - Mon, 30 Sep 2019 08:14:04 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml index 5ae9cdc2627a..f052b5d20a2c 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T08%3A57%3A15.8289265Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A14%3A09.71905Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b68cda42-a60e-40fc-a7e2-eabfd893ae65?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/23f5d96b-ba88-4725-baa8-6cf103d954bc?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '380' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:57:16 GMT + - Mon, 30 Sep 2019 08:14:10 GMT etag: - - W/"datetime'2019-07-03T08%3A57%3A15.8289265Z'" + - W/"datetime'2019-09-30T08%3A14%3A09.71905Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b68cda42-a60e-40fc-a7e2-eabfd893ae65?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/23f5d96b-ba88-4725-baa8-6cf103d954bc?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b68cda42-a60e-40fc-a7e2-eabfd893ae65","name":"b68cda42-a60e-40fc-a7e2-eabfd893ae65","status":"Succeeded","startTime":"2019-07-03T08:57:15.6850612Z","endTime":"2019-07-03T08:57:16.0288149Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/23f5d96b-ba88-4725-baa8-6cf103d954bc","name":"23f5d96b-ba88-4725-baa8-6cf103d954bc","status":"Succeeded","startTime":"2019-09-30T08:14:09.6634327Z","endTime":"2019-09-30T08:14:09.7718076Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:57:47 GMT + - Mon, 30 Sep 2019 08:14:41 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T08%3A57%3A16.011055Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A14%3A09.778094Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '385' + - '381' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:57:48 GMT + - Mon, 30 Sep 2019 08:14:41 GMT etag: - - W/"datetime'2019-07-03T08%3A57%3A16.011055Z'" + - W/"datetime'2019-09-30T08%3A14%3A09.778094Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A57%3A51.5160901Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A14%3A43.0574005Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/103a4cb4-0be6-4563-989b-e998eb1a843e?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/72315062-e7d8-457c-9871-9819766937ec?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:57:51 GMT + - Mon, 30 Sep 2019 08:14:43 GMT etag: - - W/"datetime'2019-07-03T08%3A57%3A51.5160901Z'" + - W/"datetime'2019-09-30T08%3A14%3A43.0574005Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/103a4cb4-0be6-4563-989b-e998eb1a843e?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/72315062-e7d8-457c-9871-9819766937ec?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/103a4cb4-0be6-4563-989b-e998eb1a843e","name":"103a4cb4-0be6-4563-989b-e998eb1a843e","status":"Succeeded","startTime":"2019-07-03T08:57:51.3752138Z","endTime":"2019-07-03T08:57:51.9846338Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/72315062-e7d8-457c-9871-9819766937ec","name":"72315062-e7d8-457c-9871-9819766937ec","status":"Succeeded","startTime":"2019-09-30T08:14:42.9250257Z","endTime":"2019-09-30T08:14:43.405852Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '550' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:58:22 GMT + - Mon, 30 Sep 2019 08:15:15 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A57%3A51.9734135Z''\"","location":"westcentralus","properties":{"poolId":"22e75a5d-f1f7-b6f9-397b-72b0679dd910","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A14%3A43.3976469Z''\"","location":"westcentralus","properties":{"poolId":"3f250b02-23c7-9f96-22cc-15a837412290","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:58:23 GMT + - Mon, 30 Sep 2019 08:15:15 GMT etag: - - W/"datetime'2019-07-03T08%3A57%3A51.9734135Z'" + - W/"datetime'2019-09-30T08%3A14%3A43.3976469Z'" expires: - '-1' pragma: @@ -317,8 +317,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -331,32 +331,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A58%3A27.2753054Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A15%3A16.7510062Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fca9cee4-19d9-4f43-909c-8d0c5396e1dc?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e089602e-3d4a-4ba5-9ac5-7613385755be?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:58:27 GMT + - Mon, 30 Sep 2019 08:15:16 GMT etag: - - W/"datetime'2019-07-03T08%3A58%3A27.2753054Z'" + - W/"datetime'2019-09-30T08%3A15%3A16.7510062Z'" expires: - '-1' pragma: @@ -370,7 +370,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +386,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fca9cee4-19d9-4f43-909c-8d0c5396e1dc?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e089602e-3d4a-4ba5-9ac5-7613385755be?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fca9cee4-19d9-4f43-909c-8d0c5396e1dc","name":"fca9cee4-19d9-4f43-909c-8d0c5396e1dc","status":"Succeeded","startTime":"2019-07-03T08:58:27.098979Z","endTime":"2019-07-03T08:58:27.6771067Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e089602e-3d4a-4ba5-9ac5-7613385755be","name":"e089602e-3d4a-4ba5-9ac5-7613385755be","status":"Succeeded","startTime":"2019-09-30T08:15:16.6864474Z","endTime":"2019-09-30T08:15:17.1548971Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:58:58 GMT + - Mon, 30 Sep 2019 08:15:47 GMT expires: - '-1' pragma: @@ -435,26 +435,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A58%3A27.6785898Z''\"","location":"westcentralus","properties":{"poolId":"d954bd25-1320-0919-4ef3-2eac3650ee1d","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A15%3A17.1492971Z''\"","location":"westcentralus","properties":{"poolId":"fd16ff49-d95d-d3f1-3bb5-dbddb4a31df2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:58:59 GMT + - Mon, 30 Sep 2019 08:15:48 GMT etag: - - W/"datetime'2019-07-03T08%3A58%3A27.6785898Z'" + - W/"datetime'2019-09-30T08%3A15%3A17.1492971Z'" expires: - '-1' pragma: @@ -486,26 +486,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A57%3A51.9734135Z''\"","location":"westcentralus","properties":{"poolId":"22e75a5d-f1f7-b6f9-397b-72b0679dd910","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T08%3A58%3A27.6785898Z''\"","location":"westcentralus","properties":{"poolId":"d954bd25-1320-0919-4ef3-2eac3650ee1d","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A14%3A43.3976469Z''\"","location":"westcentralus","properties":{"poolId":"3f250b02-23c7-9f96-22cc-15a837412290","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A15%3A17.1492971Z''\"","location":"westcentralus","properties":{"poolId":"fd16ff49-d95d-d3f1-3bb5-dbddb4a31df2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1149' + - '1141' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:59:01 GMT + - Mon, 30 Sep 2019 08:15:49 GMT expires: - '-1' pragma: @@ -539,30 +539,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9ebbae92-0094-468e-a37a-084342743768?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a4bd2df4-4410-4358-a4f9-d16a6e1ee664?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 08:59:02 GMT + - Mon, 30 Sep 2019 08:15:49 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9ebbae92-0094-468e-a37a-084342743768?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a4bd2df4-4410-4358-a4f9-d16a6e1ee664?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -590,24 +590,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9ebbae92-0094-468e-a37a-084342743768?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a4bd2df4-4410-4358-a4f9-d16a6e1ee664?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9ebbae92-0094-468e-a37a-084342743768","name":"9ebbae92-0094-468e-a37a-084342743768","status":"Succeeded","startTime":"2019-07-03T08:59:02.9919957Z","endTime":"2019-07-03T08:59:03.288859Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a4bd2df4-4410-4358-a4f9-d16a6e1ee664","name":"a4bd2df4-4410-4358-a4f9-d16a6e1ee664","status":"Succeeded","startTime":"2019-09-30T08:15:50.6061213Z","endTime":"2019-09-30T08:15:50.7221087Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 08:59:35 GMT + - Mon, 30 Sep 2019 08:16:22 GMT expires: - '-1' pragma: @@ -641,30 +641,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/38a267a4-f1d1-4980-8a73-c09185319660?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a50aa42-d368-48a0-89dd-85eeb97d178d?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 08:59:38 GMT + - Mon, 30 Sep 2019 08:16:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/38a267a4-f1d1-4980-8a73-c09185319660?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a50aa42-d368-48a0-89dd-85eeb97d178d?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -692,24 +692,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/38a267a4-f1d1-4980-8a73-c09185319660?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a50aa42-d368-48a0-89dd-85eeb97d178d?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/38a267a4-f1d1-4980-8a73-c09185319660","name":"38a267a4-f1d1-4980-8a73-c09185319660","status":"Succeeded","startTime":"2019-07-03T08:59:38.1596386Z","endTime":"2019-07-03T08:59:38.378387Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a50aa42-d368-48a0-89dd-85eeb97d178d","name":"3a50aa42-d368-48a0-89dd-85eeb97d178d","status":"Succeeded","startTime":"2019-09-30T08:16:23.0064096Z","endTime":"2019-09-30T08:16:23.1313972Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:00:08 GMT + - Mon, 30 Sep 2019 08:16:54 GMT expires: - '-1' pragma: @@ -741,26 +741,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:00:19 GMT + - Mon, 30 Sep 2019 08:17:03 GMT expires: - '-1' pragma: @@ -784,26 +783,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:00:30 GMT + - Mon, 30 Sep 2019 08:17:14 GMT expires: - '-1' pragma: @@ -829,30 +827,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/45794d26-1d26-481e-b812-e84dcdf905fd?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9cbeecf6-0f30-4f37-ac55-28388608d83a?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 09:00:32 GMT + - Mon, 30 Sep 2019 08:17:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/45794d26-1d26-481e-b812-e84dcdf905fd?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9cbeecf6-0f30-4f37-ac55-28388608d83a?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -864,7 +862,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' x-powered-by: - ASP.NET status: @@ -880,24 +878,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/45794d26-1d26-481e-b812-e84dcdf905fd?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9cbeecf6-0f30-4f37-ac55-28388608d83a?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/45794d26-1d26-481e-b812-e84dcdf905fd","name":"45794d26-1d26-481e-b812-e84dcdf905fd","status":"Succeeded","startTime":"2019-07-03T09:00:32.616829Z","endTime":"2019-07-03T09:00:32.8043024Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9cbeecf6-0f30-4f37-ac55-28388608d83a","name":"9cbeecf6-0f30-4f37-ac55-28388608d83a","status":"Succeeded","startTime":"2019-09-30T08:17:15.9483521Z","endTime":"2019-09-30T08:17:16.0265527Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '520' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:01:03 GMT + - Mon, 30 Sep 2019 08:17:46 GMT expires: - '-1' pragma: @@ -929,26 +927,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:01:06 GMT + - Mon, 30 Sep 2019 08:17:49 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml index 9ce72a88e048..2ba971881614 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T09%3A01%3A11.2141721Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A17%3A54.3827583Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7a188b2b-76c8-4468-ba87-4e22338f7405?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dc37f2df-b8ab-47df-8daa-90ead3df2b9e?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:01:11 GMT + - Mon, 30 Sep 2019 08:17:55 GMT etag: - - W/"datetime'2019-07-03T09%3A01%3A11.2141721Z'" + - W/"datetime'2019-09-30T08%3A17%3A54.3827583Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7a188b2b-76c8-4468-ba87-4e22338f7405?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dc37f2df-b8ab-47df-8daa-90ead3df2b9e?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7a188b2b-76c8-4468-ba87-4e22338f7405","name":"7a188b2b-76c8-4468-ba87-4e22338f7405","status":"Succeeded","startTime":"2019-07-03T09:01:11.0796991Z","endTime":"2019-07-03T09:01:11.3453258Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dc37f2df-b8ab-47df-8daa-90ead3df2b9e","name":"dc37f2df-b8ab-47df-8daa-90ead3df2b9e","status":"Succeeded","startTime":"2019-09-30T08:17:54.2928986Z","endTime":"2019-09-30T08:17:54.4335035Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:01:42 GMT + - Mon, 30 Sep 2019 08:18:26 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T09%3A01%3A11.3452657Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A17%3A54.434796Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '381' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:01:43 GMT + - Mon, 30 Sep 2019 08:18:26 GMT etag: - - W/"datetime'2019-07-03T09%3A01%3A11.3452657Z'" + - W/"datetime'2019-09-30T08%3A17%3A54.434796Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T09%3A01%3A46.8894602Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A18%3A28.0317132Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8759d50-7b4a-4ce0-abfe-5ccd8bdef4d2?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e284a6a8-a269-4613-8c03-6bd5968413f5?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:01:46 GMT + - Mon, 30 Sep 2019 08:18:28 GMT etag: - - W/"datetime'2019-07-03T09%3A01%3A46.8894602Z'" + - W/"datetime'2019-09-30T08%3A18%3A28.0317132Z'" expires: - '-1' pragma: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8759d50-7b4a-4ce0-abfe-5ccd8bdef4d2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e284a6a8-a269-4613-8c03-6bd5968413f5?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8759d50-7b4a-4ce0-abfe-5ccd8bdef4d2","name":"a8759d50-7b4a-4ce0-abfe-5ccd8bdef4d2","status":"Succeeded","startTime":"2019-07-03T09:01:46.7553723Z","endTime":"2019-07-03T09:01:47.2939368Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e284a6a8-a269-4613-8c03-6bd5968413f5","name":"e284a6a8-a269-4613-8c03-6bd5968413f5","status":"Succeeded","startTime":"2019-09-30T08:18:27.9715304Z","endTime":"2019-09-30T08:18:28.3786848Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:02:17 GMT + - Mon, 30 Sep 2019 08:18:59 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T09%3A01%3A47.2717301Z''\"","location":"westcentralus","properties":{"poolId":"32fc5b6d-2ea1-5ca3-c6da-f40b1d41ff73","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A18%3A28.3819654Z''\"","location":"westcentralus","properties":{"poolId":"870fd8ad-d1a0-1044-6997-2624b382209f","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:02:18 GMT + - Mon, 30 Sep 2019 08:18:59 GMT etag: - - W/"datetime'2019-07-03T09%3A01%3A47.2717301Z'" + - W/"datetime'2019-09-30T08%3A18%3A28.3819654Z'" expires: - '-1' pragma: @@ -317,8 +317,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"serviceLevel": "Standard", "size": 4398046511104}, - "tags": {"Tag2": "Value1"}}' + body: '{"tags": {"Tag2": "Value1"}, "properties": {"size": 4398046511104, "serviceLevel": + "Standard"}}' headers: Accept: - application/json @@ -331,28 +331,28 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T09%3A02%3A21.1136187Z''\"","location":"westcentralus","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","poolId":"32fc5b6d-2ea1-5ca3-c6da-f40b1d41ff73","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Standard","size":4398046511104}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A19%3A01.0794261Z''\"","location":"westcentralus","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","poolId":"870fd8ad-d1a0-1044-6997-2624b382209f","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Standard","size":4398046511104}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '594' + - '590' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:02:22 GMT + - Mon, 30 Sep 2019 08:19:01 GMT etag: - - W/"datetime'2019-07-03T09%3A02%3A21.1136187Z'" + - W/"datetime'2019-09-30T08%3A19%3A01.0794261Z'" expires: - '-1' pragma: @@ -370,7 +370,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -388,30 +388,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3dcb4390-baa8-4502-b49c-dae6c08c058e?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e6488f77-6ed4-43cf-b587-c7a64576336d?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 09:02:23 GMT + - Mon, 30 Sep 2019 08:19:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3dcb4390-baa8-4502-b49c-dae6c08c058e?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e6488f77-6ed4-43cf-b587-c7a64576336d?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -439,24 +439,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3dcb4390-baa8-4502-b49c-dae6c08c058e?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e6488f77-6ed4-43cf-b587-c7a64576336d?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3dcb4390-baa8-4502-b49c-dae6c08c058e","name":"3dcb4390-baa8-4502-b49c-dae6c08c058e","status":"Succeeded","startTime":"2019-07-03T09:02:24.3322597Z","endTime":"2019-07-03T09:02:24.58226Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e6488f77-6ed4-43cf-b587-c7a64576336d","name":"e6488f77-6ed4-43cf-b587-c7a64576336d","status":"Succeeded","startTime":"2019-09-30T08:19:03.3207551Z","endTime":"2019-09-30T08:19:03.5082657Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '553' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:02:54 GMT + - Mon, 30 Sep 2019 08:19:34 GMT expires: - '-1' pragma: @@ -488,26 +488,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:03:05 GMT + - Mon, 30 Sep 2019 08:19:44 GMT expires: - '-1' pragma: @@ -533,30 +532,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9d6707b-9d26-495c-b66c-f836cc639a49?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3fd62a9-163a-4966-902e-f71368749de9?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 09:03:07 GMT + - Mon, 30 Sep 2019 08:19:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9d6707b-9d26-495c-b66c-f836cc639a49?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3fd62a9-163a-4966-902e-f71368749de9?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -568,7 +567,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' x-powered-by: - ASP.NET status: @@ -584,24 +583,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9d6707b-9d26-495c-b66c-f836cc639a49?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3fd62a9-163a-4966-902e-f71368749de9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9d6707b-9d26-495c-b66c-f836cc639a49","name":"b9d6707b-9d26-495c-b66c-f836cc639a49","status":"Succeeded","startTime":"2019-07-03T09:03:07.8782603Z","endTime":"2019-07-03T09:03:08.0814111Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3fd62a9-163a-4966-902e-f71368749de9","name":"b3fd62a9-163a-4966-902e-f71368749de9","status":"Succeeded","startTime":"2019-09-30T08:19:45.6743468Z","endTime":"2019-09-30T08:19:45.7369203Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:03:39 GMT + - Mon, 30 Sep 2019 08:20:16 GMT expires: - '-1' pragma: @@ -633,26 +632,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:03:40 GMT + - Mon, 30 Sep 2019 08:20:18 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml index 336919a17509..491fee9e6ed2 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T09%3A03%3A46.6699469Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A20%3A23.4265119Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/47a67fef-7064-4af6-a583-582807e1a5ba?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/15bcdda8-4571-4e62-95c0-b675537e6987?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:03:47 GMT + - Mon, 30 Sep 2019 08:20:23 GMT etag: - - W/"datetime'2019-07-03T09%3A03%3A46.6699469Z'" + - W/"datetime'2019-09-30T08%3A20%3A23.4265119Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/47a67fef-7064-4af6-a583-582807e1a5ba?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/15bcdda8-4571-4e62-95c0-b675537e6987?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/47a67fef-7064-4af6-a583-582807e1a5ba","name":"47a67fef-7064-4af6-a583-582807e1a5ba","status":"Succeeded","startTime":"2019-07-03T09:03:46.4689191Z","endTime":"2019-07-03T09:03:46.797048Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/15bcdda8-4571-4e62-95c0-b675537e6987","name":"15bcdda8-4571-4e62-95c0-b675537e6987","status":"Succeeded","startTime":"2019-09-30T08:20:23.3748881Z","endTime":"2019-09-30T08:20:23.4826671Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '520' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:04:17 GMT + - Mon, 30 Sep 2019 08:20:54 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T09%3A03%3A46.7970369Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-30T08%3A20%3A23.4765478Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:04:18 GMT + - Mon, 30 Sep 2019 08:20:55 GMT etag: - - W/"datetime'2019-07-03T09%3A03%3A46.7970369Z'" + - W/"datetime'2019-09-30T08%3A20%3A23.4765478Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T09%3A04%3A22.443172Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A20%3A56.8354835Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a35dc74-034e-4ddf-933e-b1b526227aad?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0e4252e4-9d40-4b59-a275-1abd1bac4920?api-version=2019-07-01 cache-control: - no-cache content-length: - - '470' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:04:23 GMT + - Mon, 30 Sep 2019 08:20:56 GMT etag: - - W/"datetime'2019-07-03T09%3A04%3A22.443172Z'" + - W/"datetime'2019-09-30T08%3A20%3A56.8354835Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a35dc74-034e-4ddf-933e-b1b526227aad?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0e4252e4-9d40-4b59-a275-1abd1bac4920?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3a35dc74-034e-4ddf-933e-b1b526227aad","name":"3a35dc74-034e-4ddf-933e-b1b526227aad","status":"Succeeded","startTime":"2019-07-03T09:04:22.2985858Z","endTime":"2019-07-03T09:04:22.8767171Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0e4252e4-9d40-4b59-a275-1abd1bac4920","name":"0e4252e4-9d40-4b59-a275-1abd1bac4920","status":"Succeeded","startTime":"2019-09-30T08:20:56.7376604Z","endTime":"2019-09-30T08:20:57.2532919Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:04:54 GMT + - Mon, 30 Sep 2019 08:21:28 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T09%3A04%3A22.8744757Z''\"","location":"westcentralus","properties":{"poolId":"6fb48ea8-d58c-73d9-2e4a-58fa80bb6d99","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A20%3A57.2057492Z''\"","location":"westcentralus","properties":{"poolId":"aa39613f-4933-7824-d0e8-1637d140caf0","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:04:55 GMT + - Mon, 30 Sep 2019 08:21:28 GMT etag: - - W/"datetime'2019-07-03T09%3A04%3A22.8744757Z'" + - W/"datetime'2019-09-30T08%3A20%3A57.2057492Z'" expires: - '-1' pragma: @@ -317,8 +317,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Standard", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Standard"}}' headers: Accept: - application/json @@ -331,30 +331,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T09%3A04%3A57.0185521Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","poolId":"6fb48ea8-d58c-73d9-2e4a-58fa80bb6d99","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Standard","size":4398046511104}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A21%3A29.5670856Z''\"","location":"westcentralus","properties":{"provisioningState":"Updating","poolId":"aa39613f-4933-7824-d0e8-1637d140caf0","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104}}' headers: access-control-expose-headers: - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/365732ab-23d4-48af-b378-4d7feb2ea8bb?api-version=2019-07-01 cache-control: - no-cache content-length: - - '569' + - '563' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:04:56 GMT + - Mon, 30 Sep 2019 08:21:28 GMT etag: - - W/"datetime'2019-07-03T09%3A04%3A57.0185521Z'" + - W/"datetime'2019-09-30T08%3A21%3A29.5670856Z'" expires: - '-1' pragma: @@ -372,7 +374,107 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/365732ab-23d4-48af-b378-4d7feb2ea8bb?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/365732ab-23d4-48af-b378-4d7feb2ea8bb","name":"365732ab-23d4-48af-b378-4d7feb2ea8bb","status":"Succeeded","startTime":"2019-09-30T08:21:29.5147332Z","endTime":"2019-09-30T08:21:29.7021988Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '551' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Sep 2019 08:21:59 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-30T08%3A21%3A29.6981809Z''\"","location":"westcentralus","properties":{"poolId":"aa39613f-4933-7824-d0e8-1637d140caf0","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '565' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Sep 2019 08:21:59 GMT + etag: + - W/"datetime'2019-09-30T08%3A21%3A29.6981809Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff x-powered-by: - ASP.NET status: @@ -390,30 +492,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/503dc970-9edd-4284-9e5f-971debb8d955?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4e087135-8a13-4580-b226-73046a511ae9?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 09:04:58 GMT + - Mon, 30 Sep 2019 08:22:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/503dc970-9edd-4284-9e5f-971debb8d955?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4e087135-8a13-4580-b226-73046a511ae9?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -441,24 +543,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/503dc970-9edd-4284-9e5f-971debb8d955?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4e087135-8a13-4580-b226-73046a511ae9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/503dc970-9edd-4284-9e5f-971debb8d955","name":"503dc970-9edd-4284-9e5f-971debb8d955","status":"Succeeded","startTime":"2019-07-03T09:04:59.1544631Z","endTime":"2019-07-03T09:04:59.3732167Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4e087135-8a13-4580-b226-73046a511ae9","name":"4e087135-8a13-4580-b226-73046a511ae9","status":"Succeeded","startTime":"2019-09-30T08:22:02.2771213Z","endTime":"2019-09-30T08:22:02.5583774Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:05:30 GMT + - Mon, 30 Sep 2019 08:22:33 GMT expires: - '-1' pragma: @@ -490,26 +592,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:05:40 GMT + - Mon, 30 Sep 2019 08:22:43 GMT expires: - '-1' pragma: @@ -535,30 +636,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/530276cc-e489-427b-98be-b74dc8f89d28?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa216c00-1fac-4bfe-a80c-d1fac513973b?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 09:05:42 GMT + - Mon, 30 Sep 2019 08:22:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/530276cc-e489-427b-98be-b74dc8f89d28?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa216c00-1fac-4bfe-a80c-d1fac513973b?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -586,24 +687,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/530276cc-e489-427b-98be-b74dc8f89d28?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa216c00-1fac-4bfe-a80c-d1fac513973b?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/530276cc-e489-427b-98be-b74dc8f89d28","name":"530276cc-e489-427b-98be-b74dc8f89d28","status":"Succeeded","startTime":"2019-07-03T09:05:43.035357Z","endTime":"2019-07-03T09:05:43.254111Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa216c00-1fac-4bfe-a80c-d1fac513973b","name":"fa216c00-1fac-4bfe-a80c-d1fac513973b","status":"Succeeded","startTime":"2019-09-30T08:22:44.5638807Z","endTime":"2019-09-30T08:22:44.7045069Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '519' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:06:13 GMT + - Mon, 30 Sep 2019 08:23:15 GMT expires: - '-1' pragma: @@ -635,26 +736,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 09:06:16 GMT + - Mon, 30 Sep 2019 08:23:17 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml index 1a04d32ac250..2da40305d3fd 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A19%3A49.0303558Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T13%3A15%3A11.6831838Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e3b2f12d-3c79-45ad-b911-e546af616dce?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9407252d-6e1a-49c1-8ead-4887563e58e9?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:19:49 GMT + - Fri, 27 Sep 2019 13:15:12 GMT etag: - - W/"datetime'2019-07-02T23%3A19%3A49.0303558Z'" + - W/"datetime'2019-09-27T13%3A15%3A11.6831838Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e3b2f12d-3c79-45ad-b911-e546af616dce?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9407252d-6e1a-49c1-8ead-4887563e58e9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e3b2f12d-3c79-45ad-b911-e546af616dce","name":"e3b2f12d-3c79-45ad-b911-e546af616dce","status":"Succeeded","startTime":"2019-07-02T23:19:48.8944101Z","endTime":"2019-07-02T23:19:49.1600417Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9407252d-6e1a-49c1-8ead-4887563e58e9","name":"9407252d-6e1a-49c1-8ead-4887563e58e9","status":"Succeeded","startTime":"2019-09-27T13:15:11.6347758Z","endTime":"2019-09-27T13:15:11.7910188Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:20:20 GMT + - Fri, 27 Sep 2019 13:15:43 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A19%3A49.160448Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T13%3A15%3A11.7842555Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '385' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:20:21 GMT + - Fri, 27 Sep 2019 13:15:43 GMT etag: - - W/"datetime'2019-07-02T23%3A19%3A49.160448Z'" + - W/"datetime'2019-09-27T13%3A15%3A11.7842555Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A20%3A24.0461623Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T13%3A15%3A45.3053367Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/def0df42-3b00-46fc-9b27-ddf3b0a9ff7f?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7b2e3490-48fc-4ce3-aaa6-018342b84452?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:20:24 GMT + - Fri, 27 Sep 2019 13:15:45 GMT etag: - - W/"datetime'2019-07-02T23%3A20%3A24.0461623Z'" + - W/"datetime'2019-09-27T13%3A15%3A45.3053367Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/def0df42-3b00-46fc-9b27-ddf3b0a9ff7f?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7b2e3490-48fc-4ce3-aaa6-018342b84452?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/def0df42-3b00-46fc-9b27-ddf3b0a9ff7f","name":"def0df42-3b00-46fc-9b27-ddf3b0a9ff7f","status":"Succeeded","startTime":"2019-07-02T23:20:23.907965Z","endTime":"2019-07-02T23:20:24.4860686Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7b2e3490-48fc-4ce3-aaa6-018342b84452","name":"7b2e3490-48fc-4ce3-aaa6-018342b84452","status":"Succeeded","startTime":"2019-09-27T13:15:45.2025533Z","endTime":"2019-09-27T13:15:45.6557074Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:20:55 GMT + - Fri, 27 Sep 2019 13:16:15 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A20%3A24.4784693Z''\"","location":"westcentralus","properties":{"poolId":"4db53bce-61e4-73bb-df92-9336436c9349","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T13%3A15%3A45.6555875Z''\"","location":"westcentralus","properties":{"poolId":"f31a43ee-d22b-2363-a3ba-9686ca6c520f","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:20:56 GMT + - Fri, 27 Sep 2019 13:16:16 GMT etag: - - W/"datetime'2019-07-02T23%3A20%3A24.4784693Z'" + - W/"datetime'2019-09-27T13%3A15%3A45.6555875Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A21%3A00.0786028Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A16%3A18.9414997Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:21:00 GMT + - Fri, 27 Sep 2019 13:16:18 GMT etag: - - W/"datetime'2019-07-02T23%3A21%3A00.0786028Z'" + - W/"datetime'2019-09-27T13%3A16%3A18.9414997Z'" expires: - '-1' pragma: @@ -370,7 +369,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee","name":"62d07073-aadc-4ca5-952c-ca135b59c8ee","status":"Creating","startTime":"2019-07-02T23:20:59.9508008Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868","name":"dd01c23b-94a7-4f78-81bb-8cf7812fe868","status":"Creating","startTime":"2019-09-27T13:16:18.8759823Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:21:31 GMT + - Fri, 27 Sep 2019 13:16:50 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee","name":"62d07073-aadc-4ca5-952c-ca135b59c8ee","status":"Creating","startTime":"2019-07-02T23:20:59.9508008Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868","name":"dd01c23b-94a7-4f78-81bb-8cf7812fe868","status":"Creating","startTime":"2019-09-27T13:16:18.8759823Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:22:03 GMT + - Fri, 27 Sep 2019 13:17:20 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee","name":"62d07073-aadc-4ca5-952c-ca135b59c8ee","status":"Creating","startTime":"2019-07-02T23:20:59.9508008Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868","name":"dd01c23b-94a7-4f78-81bb-8cf7812fe868","status":"Creating","startTime":"2019-09-27T13:16:18.8759823Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:22:34 GMT + - Fri, 27 Sep 2019 13:17:51 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee","name":"62d07073-aadc-4ca5-952c-ca135b59c8ee","status":"Creating","startTime":"2019-07-02T23:20:59.9508008Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868","name":"dd01c23b-94a7-4f78-81bb-8cf7812fe868","status":"Creating","startTime":"2019-09-27T13:16:18.8759823Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:23:04 GMT + - Fri, 27 Sep 2019 13:18:22 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee","name":"62d07073-aadc-4ca5-952c-ca135b59c8ee","status":"Creating","startTime":"2019-07-02T23:20:59.9508008Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868","name":"dd01c23b-94a7-4f78-81bb-8cf7812fe868","status":"Creating","startTime":"2019-09-27T13:16:18.8759823Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:23:35 GMT + - Fri, 27 Sep 2019 13:18:52 GMT expires: - '-1' pragma: @@ -631,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62d07073-aadc-4ca5-952c-ca135b59c8ee","name":"62d07073-aadc-4ca5-952c-ca135b59c8ee","status":"Succeeded","startTime":"2019-07-02T23:20:59.9508008Z","endTime":"2019-07-02T23:23:53.1507585Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dd01c23b-94a7-4f78-81bb-8cf7812fe868","name":"dd01c23b-94a7-4f78-81bb-8cf7812fe868","status":"Succeeded","startTime":"2019-09-27T13:16:18.8759823Z","endTime":"2019-09-27T13:19:05.6948186Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:07 GMT + - Fri, 27 Sep 2019 13:19:23 GMT expires: - '-1' pragma: @@ -680,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A23%3A53.1424572Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_bac0dd37","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2dbfe16b-2718-3fcc-73e3-41a5c1e3a701","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A19%3A05.7002948Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":294912,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_9ba8b043","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2bc6dd78-8735-7ed2-3810-c57a7d0559f8","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1411' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:08 GMT + - Fri, 27 Sep 2019 13:19:23 GMT etag: - - W/"datetime'2019-07-02T23%3A23%3A53.1424572Z'" + - W/"datetime'2019-09-27T13%3A19%3A05.7002948Z'" expires: - '-1' pragma: @@ -731,28 +730,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A23%3A53.1424572Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_bac0dd37","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2dbfe16b-2718-3fcc-73e3-41a5c1e3a701","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A19%3A05.7002948Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":294912,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_9ba8b043","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2bc6dd78-8735-7ed2-3810-c57a7d0559f8","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1411' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:09 GMT + - Fri, 27 Sep 2019 13:19:25 GMT etag: - - W/"datetime'2019-07-02T23%3A23%3A53.1424572Z'" + - W/"datetime'2019-09-27T13%3A19%3A05.7002948Z'" expires: - '-1' pragma: @@ -775,8 +774,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"fileSystemId": "bacf3276-936f-73a7-4b6c-06e24d29e2da"}, - "location": "westcentralus"}' + body: '{"location": "westcentralus", "properties": {"fileSystemId": "fd02e1be-f47d-b479-956e-78bd95f4c247"}}' headers: Accept: - application/json @@ -789,32 +787,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","name":"sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","name":"sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ba1d15f-da78-46c4-a45b-1fe8fd0460d7?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e4a6294-a8c4-411b-a138-bbaf07a88869?api-version=2019-07-01 cache-control: - no-cache content-length: - - '576' + - '572' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:13 GMT + - Fri, 27 Sep 2019 13:19:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ba1d15f-da78-46c4-a45b-1fe8fd0460d7?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e4a6294-a8c4-411b-a138-bbaf07a88869?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -826,7 +824,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET status: @@ -842,24 +840,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ba1d15f-da78-46c4-a45b-1fe8fd0460d7?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e4a6294-a8c4-411b-a138-bbaf07a88869?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ba1d15f-da78-46c4-a45b-1fe8fd0460d7","name":"5ba1d15f-da78-46c4-a45b-1fe8fd0460d7","status":"Succeeded","startTime":"2019-07-02T23:24:13.2502105Z","endTime":"2019-07-02T23:24:16.9291357Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e4a6294-a8c4-411b-a138-bbaf07a88869","name":"8e4a6294-a8c4-411b-a138-bbaf07a88869","status":"Succeeded","startTime":"2019-09-27T13:19:29.8001247Z","endTime":"2019-09-27T13:19:31.6019307Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '612' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:45 GMT + - Fri, 27 Sep 2019 13:20:00 GMT expires: - '-1' pragma: @@ -891,24 +889,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"223b3ad5-2697-6408-1f9b-5ee608895280","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","name":"sdk-py-tests-snapshot-1","created":"2019-07-02T23:24:13Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"ba6907c9-f801-ee21-7f02-6e915ccef161","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","name":"sdk-py-tests-snapshot-1","created":"2019-09-27T13:19:29Z"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '662' + - '658' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:45 GMT + - Fri, 27 Sep 2019 13:20:01 GMT expires: - '-1' pragma: @@ -940,26 +938,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"223b3ad5-2697-6408-1f9b-5ee608895280","fileSystemId":"bacf3276-936f-73a7-4b6c-06e24d29e2da","name":"sdk-py-tests-snapshot-1","created":"2019-07-02T23:24:13Z"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"ba6907c9-f801-ee21-7f02-6e915ccef161","fileSystemId":"fd02e1be-f47d-b479-956e-78bd95f4c247","name":"sdk-py-tests-snapshot-1","created":"2019-09-27T13:19:29Z"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '674' + - '670' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:24:47 GMT + - Fri, 27 Sep 2019 13:20:02 GMT expires: - '-1' pragma: @@ -993,30 +991,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/be1a73e2-7cb9-4f08-bcee-a5def55f197b?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e5e20023-5aa8-47e1-a90d-3fc1ad60e02a?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:24:48 GMT + - Fri, 27 Sep 2019 13:20:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/be1a73e2-7cb9-4f08-bcee-a5def55f197b?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e5e20023-5aa8-47e1-a90d-3fc1ad60e02a?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1044,24 +1042,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/be1a73e2-7cb9-4f08-bcee-a5def55f197b?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e5e20023-5aa8-47e1-a90d-3fc1ad60e02a?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/be1a73e2-7cb9-4f08-bcee-a5def55f197b","name":"be1a73e2-7cb9-4f08-bcee-a5def55f197b","status":"Succeeded","startTime":"2019-07-02T23:24:49.3116961Z","endTime":"2019-07-02T23:24:52.7259163Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e5e20023-5aa8-47e1-a90d-3fc1ad60e02a","name":"e5e20023-5aa8-47e1-a90d-3fc1ad60e02a","status":"Succeeded","startTime":"2019-09-27T13:20:02.9778397Z","endTime":"2019-09-27T13:20:05.902303Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '611' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:25:20 GMT + - Fri, 27 Sep 2019 13:20:33 GMT expires: - '-1' pragma: @@ -1093,15 +1091,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[]}' + string: '{"value":[]}' headers: access-control-expose-headers: - Request-Context @@ -1112,7 +1110,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:25:21 GMT + - Fri, 27 Sep 2019 13:20:34 GMT expires: - '-1' pragma: @@ -1146,30 +1144,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:25:23 GMT + - Fri, 27 Sep 2019 13:20:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1197,24 +1195,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7","name":"2e28453f-96ca-408c-a939-06e665d8b3a7","status":"Deleting","startTime":"2019-07-02T23:25:23.4591324Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6","name":"815e3219-f310-4982-9d0e-c584c80e3ce6","status":"Deleting","startTime":"2019-09-27T13:20:35.9060988Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:25:53 GMT + - Fri, 27 Sep 2019 13:21:07 GMT expires: - '-1' pragma: @@ -1246,24 +1244,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7","name":"2e28453f-96ca-408c-a939-06e665d8b3a7","status":"Deleting","startTime":"2019-07-02T23:25:23.4591324Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6","name":"815e3219-f310-4982-9d0e-c584c80e3ce6","status":"Deleting","startTime":"2019-09-27T13:20:35.9060988Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:26:25 GMT + - Fri, 27 Sep 2019 13:21:37 GMT expires: - '-1' pragma: @@ -1295,24 +1293,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2e28453f-96ca-408c-a939-06e665d8b3a7","name":"2e28453f-96ca-408c-a939-06e665d8b3a7","status":"Succeeded","startTime":"2019-07-02T23:25:23.4591324Z","endTime":"2019-07-02T23:26:25.8952634Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/815e3219-f310-4982-9d0e-c584c80e3ce6","name":"815e3219-f310-4982-9d0e-c584c80e3ce6","status":"Succeeded","startTime":"2019-09-27T13:20:35.9060988Z","endTime":"2019-09-27T13:21:40.4703386Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:26:56 GMT + - Fri, 27 Sep 2019 13:22:07 GMT expires: - '-1' pragma: @@ -1344,26 +1342,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:26:57 GMT + - Fri, 27 Sep 2019 13:22:07 GMT expires: - '-1' pragma: @@ -1389,30 +1386,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6cfa8c30-e013-4eea-a4e6-a2f462082c14?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/11e7fa60-e735-4e0b-ab4d-f123abf72fd1?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:26:59 GMT + - Fri, 27 Sep 2019 13:22:09 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6cfa8c30-e013-4eea-a4e6-a2f462082c14?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/11e7fa60-e735-4e0b-ab4d-f123abf72fd1?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1424,7 +1421,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' x-powered-by: - ASP.NET status: @@ -1440,24 +1437,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6cfa8c30-e013-4eea-a4e6-a2f462082c14?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/11e7fa60-e735-4e0b-ab4d-f123abf72fd1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6cfa8c30-e013-4eea-a4e6-a2f462082c14","name":"6cfa8c30-e013-4eea-a4e6-a2f462082c14","status":"Succeeded","startTime":"2019-07-02T23:26:59.635958Z","endTime":"2019-07-02T23:26:59.9328624Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/11e7fa60-e735-4e0b-ab4d-f123abf72fd1","name":"11e7fa60-e735-4e0b-ab4d-f123abf72fd1","status":"Succeeded","startTime":"2019-09-27T13:22:10.1191531Z","endTime":"2019-09-27T13:22:10.2911477Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:27:30 GMT + - Fri, 27 Sep 2019 13:22:40 GMT expires: - '-1' pragma: @@ -1488,27 +1485,182 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:22:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14996' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:22:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14995' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:22:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14994' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:22:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14993' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:27:31 GMT + - Fri, 27 Sep 2019 13:22:42 GMT expires: - '-1' pragma: @@ -1534,30 +1686,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/05251f9a-73b0-4f2f-a8a2-42801d1d43fa?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5a459a25-fb94-4269-b506-8bdbef704458?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:27:32 GMT + - Fri, 27 Sep 2019 13:22:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/05251f9a-73b0-4f2f-a8a2-42801d1d43fa?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5a459a25-fb94-4269-b506-8bdbef704458?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1569,7 +1721,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14992' x-powered-by: - ASP.NET status: @@ -1585,24 +1737,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/05251f9a-73b0-4f2f-a8a2-42801d1d43fa?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5a459a25-fb94-4269-b506-8bdbef704458?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/05251f9a-73b0-4f2f-a8a2-42801d1d43fa","name":"05251f9a-73b0-4f2f-a8a2-42801d1d43fa","status":"Succeeded","startTime":"2019-07-02T23:27:33.5111821Z","endTime":"2019-07-02T23:27:33.6674054Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5a459a25-fb94-4269-b506-8bdbef704458","name":"5a459a25-fb94-4269-b506-8bdbef704458","status":"Succeeded","startTime":"2019-09-27T13:22:43.712134Z","endTime":"2019-09-27T13:22:43.8684492Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:28:08 GMT + - Fri, 27 Sep 2019 13:23:14 GMT expires: - '-1' pragma: @@ -1634,26 +1786,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:28:11 GMT + - Fri, 27 Sep 2019 13:23:14 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml index 3da65ddc1199..ebc676e31a7f 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A28%3A28.3566484Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T13%3A23%3A49.4093362Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f66c4f8-8c9c-4f57-91ab-8428f983a44d?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad809c2b-5a81-4d65-9b11-1933ad1e1846?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:28:28 GMT + - Fri, 27 Sep 2019 13:23:49 GMT etag: - - W/"datetime'2019-07-02T23%3A28%3A28.3566484Z'" + - W/"datetime'2019-09-27T13%3A23%3A49.4093362Z'" expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f66c4f8-8c9c-4f57-91ab-8428f983a44d?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad809c2b-5a81-4d65-9b11-1933ad1e1846?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f66c4f8-8c9c-4f57-91ab-8428f983a44d","name":"4f66c4f8-8c9c-4f57-91ab-8428f983a44d","status":"Succeeded","startTime":"2019-07-02T23:28:28.2164086Z","endTime":"2019-07-02T23:28:28.4976561Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad809c2b-5a81-4d65-9b11-1933ad1e1846","name":"ad809c2b-5a81-4d65-9b11-1933ad1e1846","status":"Succeeded","startTime":"2019-09-27T13:23:49.3543459Z","endTime":"2019-09-27T13:23:49.4636948Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:29:00 GMT + - Fri, 27 Sep 2019 13:24:20 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A28%3A28.4907442Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T13%3A23%3A49.4633749Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:29:01 GMT + - Fri, 27 Sep 2019 13:24:21 GMT etag: - - W/"datetime'2019-07-02T23%3A28%3A28.4907442Z'" + - W/"datetime'2019-09-27T13%3A23%3A49.4633749Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A29%3A04.3900841Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T13%3A24%3A22.6824003Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/450672d3-7a21-40e2-aa13-92d924f67cd1?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b5505303-888f-4aa5-ab0b-f3036b9d5c33?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:29:04 GMT + - Fri, 27 Sep 2019 13:24:22 GMT etag: - - W/"datetime'2019-07-02T23%3A29%3A04.3900841Z'" + - W/"datetime'2019-09-27T13%3A24%3A22.6824003Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/450672d3-7a21-40e2-aa13-92d924f67cd1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b5505303-888f-4aa5-ab0b-f3036b9d5c33?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/450672d3-7a21-40e2-aa13-92d924f67cd1","name":"450672d3-7a21-40e2-aa13-92d924f67cd1","status":"Succeeded","startTime":"2019-07-02T23:29:04.2673497Z","endTime":"2019-07-02T23:29:04.7829813Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b5505303-888f-4aa5-ab0b-f3036b9d5c33","name":"b5505303-888f-4aa5-ab0b-f3036b9d5c33","status":"Succeeded","startTime":"2019-09-27T13:24:22.6274179Z","endTime":"2019-09-27T13:24:23.0649244Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:29:35 GMT + - Fri, 27 Sep 2019 13:24:54 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A29%3A04.7793605Z''\"","location":"westcentralus","properties":{"poolId":"d301bb99-05bf-08ec-ef57-20100fec94d6","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T13%3A24%3A23.0706822Z''\"","location":"westcentralus","properties":{"poolId":"21552fe1-921b-3bb1-9e91-d8229ded599b","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:29:36 GMT + - Fri, 27 Sep 2019 13:24:54 GMT etag: - - W/"datetime'2019-07-02T23%3A29%3A04.7793605Z'" + - W/"datetime'2019-09-27T13%3A24%3A23.0706822Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A29%3A40.2997447Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A24%3A56.5629056Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:29:40 GMT + - Fri, 27 Sep 2019 13:24:56 GMT etag: - - W/"datetime'2019-07-02T23%3A29%3A40.2997447Z'" + - W/"datetime'2019-09-27T13%3A24%3A56.5629056Z'" expires: - '-1' pragma: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218","name":"36c97308-61bd-40f6-bd21-f1dd6dbdd218","status":"Creating","startTime":"2019-07-02T23:29:40.1533113Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8","name":"504685b9-9812-4479-b86e-4c9cf4e2d1f8","status":"Creating","startTime":"2019-09-27T13:24:56.4694059Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:30:11 GMT + - Fri, 27 Sep 2019 13:25:28 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218","name":"36c97308-61bd-40f6-bd21-f1dd6dbdd218","status":"Creating","startTime":"2019-07-02T23:29:40.1533113Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8","name":"504685b9-9812-4479-b86e-4c9cf4e2d1f8","status":"Creating","startTime":"2019-09-27T13:24:56.4694059Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:30:42 GMT + - Fri, 27 Sep 2019 13:25:58 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218","name":"36c97308-61bd-40f6-bd21-f1dd6dbdd218","status":"Creating","startTime":"2019-07-02T23:29:40.1533113Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8","name":"504685b9-9812-4479-b86e-4c9cf4e2d1f8","status":"Creating","startTime":"2019-09-27T13:24:56.4694059Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:31:16 GMT + - Fri, 27 Sep 2019 13:26:29 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218","name":"36c97308-61bd-40f6-bd21-f1dd6dbdd218","status":"Creating","startTime":"2019-07-02T23:29:40.1533113Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8","name":"504685b9-9812-4479-b86e-4c9cf4e2d1f8","status":"Creating","startTime":"2019-09-27T13:24:56.4694059Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:31:52 GMT + - Fri, 27 Sep 2019 13:26:59 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/36c97308-61bd-40f6-bd21-f1dd6dbdd218","name":"36c97308-61bd-40f6-bd21-f1dd6dbdd218","status":"Succeeded","startTime":"2019-07-02T23:29:40.1533113Z","endTime":"2019-07-02T23:32:22.8660512Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8","name":"504685b9-9812-4479-b86e-4c9cf4e2d1f8","status":"Creating","startTime":"2019-09-27T13:24:56.4694059Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:32:26 GMT + - Fri, 27 Sep 2019 13:27:29 GMT expires: - '-1' pragma: @@ -631,26 +630,75 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A32%3A22.863844Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_88aed16f","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"fd433e7b-b914-deff-4137-30baaf7e4840","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/504685b9-9812-4479-b86e-4c9cf4e2d1f8","name":"504685b9-9812-4479-b86e-4c9cf4e2d1f8","status":"Succeeded","startTime":"2019-09-27T13:24:56.4694059Z","endTime":"2019-09-27T13:27:43.7073715Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1429' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:32:31 GMT + - Fri, 27 Sep 2019 13:28:00 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A27%3A43.7138038Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_0e3c106b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"229c83ee-6cd5-ce84-50de-72450ce6acf0","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1406' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 13:28:00 GMT etag: - - W/"datetime'2019-07-02T23%3A32%3A22.863844Z'" + - W/"datetime'2019-09-27T13%3A27%3A43.7138038Z'" expires: - '-1' pragma: @@ -682,28 +730,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A32%3A22.863844Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_88aed16f","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"fd433e7b-b914-deff-4137-30baaf7e4840","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A27%3A43.7138038Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_0e3c106b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"229c83ee-6cd5-ce84-50de-72450ce6acf0","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1429' + - '1406' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:32:34 GMT + - Fri, 27 Sep 2019 13:28:01 GMT etag: - - W/"datetime'2019-07-02T23%3A32%3A22.863844Z'" + - W/"datetime'2019-09-27T13%3A27%3A43.7138038Z'" expires: - '-1' pragma: @@ -726,8 +774,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"fileSystemId": "1ec04956-5f5d-3518-cc3e-03eafe984600"}, - "location": "westcentralus"}' + body: '{"location": "westcentralus", "properties": {"fileSystemId": "2b05447f-bdf0-9a55-80d8-4cdbba54d164"}}' headers: Accept: - application/json @@ -740,32 +787,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","name":"sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","name":"sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d3f8829c-4de0-45c1-83bd-910f31e41eb4?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e9380013-04f1-4a98-924b-d901b65eff84?api-version=2019-07-01 cache-control: - no-cache content-length: - - '576' + - '572' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:32:41 GMT + - Fri, 27 Sep 2019 13:28:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d3f8829c-4de0-45c1-83bd-910f31e41eb4?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e9380013-04f1-4a98-924b-d901b65eff84?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -777,7 +824,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET status: @@ -793,24 +840,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d3f8829c-4de0-45c1-83bd-910f31e41eb4?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e9380013-04f1-4a98-924b-d901b65eff84?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d3f8829c-4de0-45c1-83bd-910f31e41eb4","name":"d3f8829c-4de0-45c1-83bd-910f31e41eb4","status":"Succeeded","startTime":"2019-07-02T23:32:41.9456971Z","endTime":"2019-07-02T23:32:44.1175041Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e9380013-04f1-4a98-924b-d901b65eff84","name":"e9380013-04f1-4a98-924b-d901b65eff84","status":"Succeeded","startTime":"2019-09-27T13:28:05.3868235Z","endTime":"2019-09-27T13:28:07.1680785Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '612' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:33:17 GMT + - Fri, 27 Sep 2019 13:28:36 GMT expires: - '-1' pragma: @@ -842,24 +889,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"cc28851b-ed4c-fb27-f928-c52c2a96025a","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","name":"sdk-py-tests-snapshot-1","created":"2019-07-02T23:32:42Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"c8c1799d-4bef-b3e4-685f-8a387d9e4667","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","name":"sdk-py-tests-snapshot-1","created":"2019-09-27T13:28:05Z"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '662' + - '658' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:33:21 GMT + - Fri, 27 Sep 2019 13:28:37 GMT expires: - '-1' pragma: @@ -891,26 +938,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"cc28851b-ed4c-fb27-f928-c52c2a96025a","fileSystemId":"1ec04956-5f5d-3518-cc3e-03eafe984600","name":"sdk-py-tests-snapshot-1","created":"2019-07-02T23:32:42Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"c8c1799d-4bef-b3e4-685f-8a387d9e4667","fileSystemId":"2b05447f-bdf0-9a55-80d8-4cdbba54d164","name":"sdk-py-tests-snapshot-1","created":"2019-09-27T13:28:05Z"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '662' + - '658' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:33:25 GMT + - Fri, 27 Sep 2019 13:28:38 GMT expires: - '-1' pragma: @@ -944,30 +991,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1c8f073e-267f-4871-8b13-c118e5621432?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9a2976b-3068-4f09-b840-286d7049b017?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:33:30 GMT + - Fri, 27 Sep 2019 13:28:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1c8f073e-267f-4871-8b13-c118e5621432?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9a2976b-3068-4f09-b840-286d7049b017?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -995,24 +1042,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1c8f073e-267f-4871-8b13-c118e5621432?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9a2976b-3068-4f09-b840-286d7049b017?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1c8f073e-267f-4871-8b13-c118e5621432","name":"1c8f073e-267f-4871-8b13-c118e5621432","status":"Succeeded","startTime":"2019-07-02T23:33:31.1571634Z","endTime":"2019-07-02T23:33:34.5165856Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9a2976b-3068-4f09-b840-286d7049b017","name":"d9a2976b-3068-4f09-b840-286d7049b017","status":"Succeeded","startTime":"2019-09-27T13:28:39.2796986Z","endTime":"2019-09-27T13:28:41.9798299Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '612' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:34:06 GMT + - Fri, 27 Sep 2019 13:29:10 GMT expires: - '-1' pragma: @@ -1046,30 +1093,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:34:10 GMT + - Fri, 27 Sep 2019 13:29:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1097,24 +1144,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea","name":"ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea","status":"Deleting","startTime":"2019-07-02T23:34:11.1451026Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa","name":"5969b295-ffaf-4c39-9e17-a4e011c352aa","status":"Deleting","startTime":"2019-09-27T13:29:11.1745051Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:34:45 GMT + - Fri, 27 Sep 2019 13:29:42 GMT expires: - '-1' pragma: @@ -1146,24 +1193,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea","name":"ec6fb5bc-c6eb-4875-b6fc-b5fc83e643ea","status":"Succeeded","startTime":"2019-07-02T23:34:11.1451026Z","endTime":"2019-07-02T23:35:05.9673143Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa","name":"5969b295-ffaf-4c39-9e17-a4e011c352aa","status":"Deleting","startTime":"2019-09-27T13:29:11.1745051Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:35:20 GMT + - Fri, 27 Sep 2019 13:30:12 GMT expires: - '-1' pragma: @@ -1195,26 +1242,74 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5969b295-ffaf-4c39-9e17-a4e011c352aa","name":"5969b295-ffaf-4c39-9e17-a4e011c352aa","status":"Succeeded","startTime":"2019-09-27T13:29:11.1745051Z","endTime":"2019-09-27T13:30:25.251755Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '577' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 13:30:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:35:26 GMT + - Fri, 27 Sep 2019 13:30:43 GMT expires: - '-1' pragma: @@ -1240,30 +1335,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1825e41a-bfde-4c47-9993-abbd7ca2f655?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f2a8a6f-d82a-40db-a9bc-06ef32c1d832?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:35:30 GMT + - Fri, 27 Sep 2019 13:30:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1825e41a-bfde-4c47-9993-abbd7ca2f655?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f2a8a6f-d82a-40db-a9bc-06ef32c1d832?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1291,24 +1386,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1825e41a-bfde-4c47-9993-abbd7ca2f655?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f2a8a6f-d82a-40db-a9bc-06ef32c1d832?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1825e41a-bfde-4c47-9993-abbd7ca2f655","name":"1825e41a-bfde-4c47-9993-abbd7ca2f655","status":"Succeeded","startTime":"2019-07-02T23:35:31.2527671Z","endTime":"2019-07-02T23:35:31.5496497Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8f2a8a6f-d82a-40db-a9bc-06ef32c1d832","name":"8f2a8a6f-d82a-40db-a9bc-06ef32c1d832","status":"Succeeded","startTime":"2019-09-27T13:30:44.5916771Z","endTime":"2019-09-27T13:30:44.7166566Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:36:05 GMT + - Fri, 27 Sep 2019 13:31:15 GMT expires: - '-1' pragma: @@ -1339,27 +1434,182 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:31:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14996' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:31:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14995' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:31:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14994' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:31:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14993' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:36:10 GMT + - Fri, 27 Sep 2019 13:31:16 GMT expires: - '-1' pragma: @@ -1385,30 +1635,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/edfae703-80c1-474d-9603-f3c57e5bbb82?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a9250cac-0a54-4596-bef0-8efc961167e9?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:36:14 GMT + - Fri, 27 Sep 2019 13:31:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/edfae703-80c1-474d-9603-f3c57e5bbb82?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a9250cac-0a54-4596-bef0-8efc961167e9?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1420,7 +1670,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14992' x-powered-by: - ASP.NET status: @@ -1436,24 +1686,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/edfae703-80c1-474d-9603-f3c57e5bbb82?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a9250cac-0a54-4596-bef0-8efc961167e9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/edfae703-80c1-474d-9603-f3c57e5bbb82","name":"edfae703-80c1-474d-9603-f3c57e5bbb82","status":"Succeeded","startTime":"2019-07-02T23:36:15.2096827Z","endTime":"2019-07-02T23:36:15.3659277Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a9250cac-0a54-4596-bef0-8efc961167e9","name":"a9250cac-0a54-4596-bef0-8efc961167e9","status":"Succeeded","startTime":"2019-09-27T13:31:18.9119978Z","endTime":"2019-09-27T13:31:19.0057295Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:36:50 GMT + - Fri, 27 Sep 2019 13:31:49 GMT expires: - '-1' pragma: @@ -1485,26 +1735,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:36:53 GMT + - Fri, 27 Sep 2019 13:31:50 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml index 0b677dc9ea51..2c49ecca0382 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A37%3A13.3990938Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T13%3A31%3A55.3142531Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8369b28d-14bc-41d9-b772-f54c2455685b?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b772bde1-b1ff-41e1-be70-8c0460e4d787?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:37:13 GMT + - Fri, 27 Sep 2019 13:31:55 GMT etag: - - W/"datetime'2019-07-02T23%3A37%3A13.3990938Z'" + - W/"datetime'2019-09-27T13%3A31%3A55.3142531Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8369b28d-14bc-41d9-b772-f54c2455685b?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b772bde1-b1ff-41e1-be70-8c0460e4d787?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8369b28d-14bc-41d9-b772-f54c2455685b","name":"8369b28d-14bc-41d9-b772-f54c2455685b","status":"Succeeded","startTime":"2019-07-02T23:37:10.0573414Z","endTime":"2019-07-02T23:37:13.5354171Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b772bde1-b1ff-41e1-be70-8c0460e4d787","name":"b772bde1-b1ff-41e1-be70-8c0460e4d787","status":"Succeeded","startTime":"2019-09-27T13:31:55.2490808Z","endTime":"2019-09-27T13:31:55.4053291Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:37:49 GMT + - Fri, 27 Sep 2019 13:32:27 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A37%3A13.5311865Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T13%3A31%3A55.4013152Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:37:52 GMT + - Fri, 27 Sep 2019 13:32:27 GMT etag: - - W/"datetime'2019-07-02T23%3A37%3A13.5311865Z'" + - W/"datetime'2019-09-27T13%3A31%3A55.4013152Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A38%3A01.0778443Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T13%3A32%3A28.7842968Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/77acc27a-4b9f-4255-a1e7-d60a2795b372?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bea5424b-51e5-42d8-a1bc-302b378ead64?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:38:01 GMT + - Fri, 27 Sep 2019 13:32:28 GMT etag: - - W/"datetime'2019-07-02T23%3A38%3A01.0778443Z'" + - W/"datetime'2019-09-27T13%3A32%3A28.7842968Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/77acc27a-4b9f-4255-a1e7-d60a2795b372?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bea5424b-51e5-42d8-a1bc-302b378ead64?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/77acc27a-4b9f-4255-a1e7-d60a2795b372","name":"77acc27a-4b9f-4255-a1e7-d60a2795b372","status":"Succeeded","startTime":"2019-07-02T23:38:00.9329732Z","endTime":"2019-07-02T23:38:01.573592Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bea5424b-51e5-42d8-a1bc-302b378ead64","name":"bea5424b-51e5-42d8-a1bc-302b378ead64","status":"Succeeded","startTime":"2019-09-27T13:32:28.6978037Z","endTime":"2019-09-27T13:32:29.0883773Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:38:36 GMT + - Fri, 27 Sep 2019 13:33:00 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A38%3A01.5691908Z''\"","location":"westcentralus","properties":{"poolId":"20eb9855-9d91-6b4f-477e-a210c5df1d20","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T13%3A32%3A29.0915175Z''\"","location":"westcentralus","properties":{"poolId":"76d9f691-906c-e7ca-914b-c6753a467384","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:38:39 GMT + - Fri, 27 Sep 2019 13:33:00 GMT etag: - - W/"datetime'2019-07-02T23%3A38%3A01.5691908Z'" + - W/"datetime'2019-09-27T13%3A32%3A29.0915175Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A38%3A46.6169916Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A33%3A02.4094523Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:38:46 GMT + - Fri, 27 Sep 2019 13:33:02 GMT etag: - - W/"datetime'2019-07-02T23%3A38%3A46.6169916Z'" + - W/"datetime'2019-09-27T13%3A33%3A02.4094523Z'" expires: - '-1' pragma: @@ -386,24 +385,73 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690","name":"c2ce5bab-9bdb-49b3-a7ab-1b652359d690","status":"Creating","startTime":"2019-09-27T13:33:02.3432285Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 13:33:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","name":"0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","status":"Creating","startTime":"2019-07-02T23:38:46.4750937Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690","name":"c2ce5bab-9bdb-49b3-a7ab-1b652359d690","status":"Creating","startTime":"2019-09-27T13:33:02.3432285Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:39:21 GMT + - Fri, 27 Sep 2019 13:34:04 GMT expires: - '-1' pragma: @@ -435,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","name":"0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","status":"Creating","startTime":"2019-07-02T23:38:46.4750937Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690","name":"c2ce5bab-9bdb-49b3-a7ab-1b652359d690","status":"Creating","startTime":"2019-09-27T13:33:02.3432285Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:39:56 GMT + - Fri, 27 Sep 2019 13:34:34 GMT expires: - '-1' pragma: @@ -484,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","name":"0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","status":"Creating","startTime":"2019-07-02T23:38:46.4750937Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690","name":"c2ce5bab-9bdb-49b3-a7ab-1b652359d690","status":"Creating","startTime":"2019-09-27T13:33:02.3432285Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:40:31 GMT + - Fri, 27 Sep 2019 13:35:05 GMT expires: - '-1' pragma: @@ -533,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","name":"0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","status":"Creating","startTime":"2019-07-02T23:38:46.4750937Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690","name":"c2ce5bab-9bdb-49b3-a7ab-1b652359d690","status":"Creating","startTime":"2019-09-27T13:33:02.3432285Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:41:07 GMT + - Fri, 27 Sep 2019 13:35:35 GMT expires: - '-1' pragma: @@ -582,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","name":"0c2a663a-21b6-46f4-b8f6-cca8f0d9cdc6","status":"Succeeded","startTime":"2019-07-02T23:38:46.4750937Z","endTime":"2019-07-02T23:41:35.0398709Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c2ce5bab-9bdb-49b3-a7ab-1b652359d690","name":"c2ce5bab-9bdb-49b3-a7ab-1b652359d690","status":"Succeeded","startTime":"2019-09-27T13:33:02.3432285Z","endTime":"2019-09-27T13:35:49.875738Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '577' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:41:42 GMT + - Fri, 27 Sep 2019 13:36:05 GMT expires: - '-1' pragma: @@ -631,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A41%3A35.0262908Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_13985f7e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1cd1885f-257c-751a-7db0-7a1457863b80","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A35%3A49.8797589Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_d99978e2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"309f61dd-45f2-c2fc-f13d-37445868e69f","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1406' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:41:49 GMT + - Fri, 27 Sep 2019 13:36:06 GMT etag: - - W/"datetime'2019-07-02T23%3A41%3A35.0262908Z'" + - W/"datetime'2019-09-27T13%3A35%3A49.8797589Z'" expires: - '-1' pragma: @@ -682,28 +730,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A41%3A35.0262908Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_13985f7e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1cd1885f-257c-751a-7db0-7a1457863b80","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A35%3A49.8797589Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_d99978e2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"309f61dd-45f2-c2fc-f13d-37445868e69f","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1406' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:41:54 GMT + - Fri, 27 Sep 2019 13:36:07 GMT etag: - - W/"datetime'2019-07-02T23%3A41%3A35.0262908Z'" + - W/"datetime'2019-09-27T13%3A35%3A49.8797589Z'" expires: - '-1' pragma: @@ -726,8 +774,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"fileSystemId": "b9724606-eac5-87d9-88a0-ab7beef53963"}, - "location": "westcentralus"}' + body: '{"location": "westcentralus", "properties": {"fileSystemId": "8701db32-cc48-8038-9725-560470960a72"}}' headers: Accept: - application/json @@ -740,32 +787,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba012f64-5960-4f0a-a51a-bf4166125d2f?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4755c55b-3978-41aa-8148-e0586d34468b?api-version=2019-07-01 cache-control: - no-cache content-length: - - '576' + - '572' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:41:59 GMT + - Fri, 27 Sep 2019 13:36:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba012f64-5960-4f0a-a51a-bf4166125d2f?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4755c55b-3978-41aa-8148-e0586d34468b?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -793,24 +840,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba012f64-5960-4f0a-a51a-bf4166125d2f?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4755c55b-3978-41aa-8148-e0586d34468b?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba012f64-5960-4f0a-a51a-bf4166125d2f","name":"ba012f64-5960-4f0a-a51a-bf4166125d2f","status":"Succeeded","startTime":"2019-07-02T23:41:59.1043284Z","endTime":"2019-07-02T23:42:01.7918676Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4755c55b-3978-41aa-8148-e0586d34468b","name":"4755c55b-3978-41aa-8148-e0586d34468b","status":"Succeeded","startTime":"2019-09-27T13:36:11.6553598Z","endTime":"2019-09-27T13:36:13.673916Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '611' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:42:35 GMT + - Fri, 27 Sep 2019 13:36:43 GMT expires: - '-1' pragma: @@ -842,24 +889,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"ddd1374b-fb8e-1ce4-0260-bc3ff1dbd484","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-snapshot-1","created":"2019-07-02T23:41:59Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"5eb2149d-115f-3b6e-bbce-a7fd3f9fae0c","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-snapshot-1","created":"2019-09-27T13:36:11Z"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '662' + - '658' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:42:39 GMT + - Fri, 27 Sep 2019 13:36:43 GMT expires: - '-1' pragma: @@ -891,28 +938,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A41%3A35.0262908Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_13985f7e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1cd1885f-257c-751a-7db0-7a1457863b80","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T13%3A35%3A49.8797589Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_d99978e2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"309f61dd-45f2-c2fc-f13d-37445868e69f","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1406' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:42:43 GMT + - Fri, 27 Sep 2019 13:36:44 GMT etag: - - W/"datetime'2019-07-02T23%3A41%3A35.0262908Z'" + - W/"datetime'2019-09-27T13%3A35%3A49.8797589Z'" expires: - '-1' pragma: @@ -935,8 +982,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"fileSystemId": "b9724606-eac5-87d9-88a0-ab7beef53963"}, - "location": "westcentralus"}' + body: '{"location": "westcentralus", "properties": {"fileSystemId": "8701db32-cc48-8038-9725-560470960a72"}}' headers: Accept: - application/json @@ -949,32 +995,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-snapshot-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Creating","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-snapshot-2"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f3562db-eaaf-4d16-89ac-bd6b8c9eee12?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6eb1ab2f-2963-47ef-868f-52837930e3fb?api-version=2019-07-01 cache-control: - no-cache content-length: - - '576' + - '572' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:42:50 GMT + - Fri, 27 Sep 2019 13:36:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f3562db-eaaf-4d16-89ac-bd6b8c9eee12?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6eb1ab2f-2963-47ef-868f-52837930e3fb?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1002,24 +1048,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f3562db-eaaf-4d16-89ac-bd6b8c9eee12?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6eb1ab2f-2963-47ef-868f-52837930e3fb?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f3562db-eaaf-4d16-89ac-bd6b8c9eee12","name":"7f3562db-eaaf-4d16-89ac-bd6b8c9eee12","status":"Succeeded","startTime":"2019-07-02T23:42:50.6536698Z","endTime":"2019-07-02T23:42:52.9193122Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6eb1ab2f-2963-47ef-868f-52837930e3fb","name":"6eb1ab2f-2963-47ef-868f-52837930e3fb","status":"Succeeded","startTime":"2019-09-27T13:36:46.2782594Z","endTime":"2019-09-27T13:36:48.825822Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '611' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:43:25 GMT + - Fri, 27 Sep 2019 13:37:18 GMT expires: - '-1' pragma: @@ -1051,24 +1097,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"0b204740-e8d6-12ff-039f-6d1e377555a5","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-snapshot-2","created":"2019-07-02T23:42:50Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"b74f283e-03af-7c8f-1d11-1f04be725a9e","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-snapshot-2","created":"2019-09-27T13:36:46Z"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '662' + - '658' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:43:30 GMT + - Fri, 27 Sep 2019 13:37:18 GMT expires: - '-1' pragma: @@ -1100,26 +1146,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"ddd1374b-fb8e-1ce4-0260-bc3ff1dbd484","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-snapshot-1","created":"2019-07-02T23:41:59Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"0b204740-e8d6-12ff-039f-6d1e377555a5","fileSystemId":"b9724606-eac5-87d9-88a0-ab7beef53963","name":"sdk-py-tests-snapshot-2","created":"2019-07-02T23:42:50Z"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"5eb2149d-115f-3b6e-bbce-a7fd3f9fae0c","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-snapshot-1","created":"2019-09-27T13:36:11Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"b74f283e-03af-7c8f-1d11-1f04be725a9e","fileSystemId":"8701db32-cc48-8038-9725-560470960a72","name":"sdk-py-tests-snapshot-2","created":"2019-09-27T13:36:46Z"}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1337' + - '1329' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:43:35 GMT + - Fri, 27 Sep 2019 13:37:18 GMT expires: - '-1' pragma: @@ -1153,30 +1199,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0886acbb-37d5-42b0-9bd9-94e6ebba1618?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9981bb50-75eb-4cd8-bc79-366a44f0d0d9?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:43:39 GMT + - Fri, 27 Sep 2019 13:37:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0886acbb-37d5-42b0-9bd9-94e6ebba1618?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9981bb50-75eb-4cd8-bc79-366a44f0d0d9?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1204,24 +1250,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0886acbb-37d5-42b0-9bd9-94e6ebba1618?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9981bb50-75eb-4cd8-bc79-366a44f0d0d9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0886acbb-37d5-42b0-9bd9-94e6ebba1618","name":"0886acbb-37d5-42b0-9bd9-94e6ebba1618","status":"Succeeded","startTime":"2019-07-02T23:43:39.9352646Z","endTime":"2019-07-02T23:43:43.9195802Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9981bb50-75eb-4cd8-bc79-366a44f0d0d9","name":"9981bb50-75eb-4cd8-bc79-366a44f0d0d9","status":"Succeeded","startTime":"2019-09-27T13:37:20.3079976Z","endTime":"2019-09-27T13:37:23.1310392Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '612' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:44:14 GMT + - Fri, 27 Sep 2019 13:37:50 GMT expires: - '-1' pragma: @@ -1255,30 +1301,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01b65767-e390-4185-b7db-a78e55160511?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3c513c8-9850-4f08-af3a-772c2cf4e660?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:44:19 GMT + - Fri, 27 Sep 2019 13:37:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01b65767-e390-4185-b7db-a78e55160511?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3c513c8-9850-4f08-af3a-772c2cf4e660?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1290,7 +1336,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' x-powered-by: - ASP.NET status: @@ -1306,24 +1352,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01b65767-e390-4185-b7db-a78e55160511?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3c513c8-9850-4f08-af3a-772c2cf4e660?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01b65767-e390-4185-b7db-a78e55160511","name":"01b65767-e390-4185-b7db-a78e55160511","status":"Succeeded","startTime":"2019-07-02T23:44:19.8160483Z","endTime":"2019-07-02T23:44:23.7064638Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b3c513c8-9850-4f08-af3a-772c2cf4e660","name":"b3c513c8-9850-4f08-af3a-772c2cf4e660","status":"Succeeded","startTime":"2019-09-27T13:37:52.1472405Z","endTime":"2019-09-27T13:37:54.8600913Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '616' + - '612' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:44:55 GMT + - Fri, 27 Sep 2019 13:38:23 GMT expires: - '-1' pragma: @@ -1357,30 +1403,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94426913-b478-4309-9bab-f547b62b11a6?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2c519171-b373-4417-b2ed-ac2fec01f300?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:44:59 GMT + - Fri, 27 Sep 2019 13:38:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94426913-b478-4309-9bab-f547b62b11a6?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2c519171-b373-4417-b2ed-ac2fec01f300?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1392,7 +1438,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' x-powered-by: - ASP.NET status: @@ -1408,24 +1454,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94426913-b478-4309-9bab-f547b62b11a6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2c519171-b373-4417-b2ed-ac2fec01f300?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94426913-b478-4309-9bab-f547b62b11a6","name":"94426913-b478-4309-9bab-f547b62b11a6","status":"Deleting","startTime":"2019-07-02T23:44:59.9012305Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2c519171-b373-4417-b2ed-ac2fec01f300","name":"2c519171-b373-4417-b2ed-ac2fec01f300","status":"Deleting","startTime":"2019-09-27T13:38:24.0364985Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:45:34 GMT + - Fri, 27 Sep 2019 13:38:55 GMT expires: - '-1' pragma: @@ -1457,24 +1503,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94426913-b478-4309-9bab-f547b62b11a6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2c519171-b373-4417-b2ed-ac2fec01f300?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/94426913-b478-4309-9bab-f547b62b11a6","name":"94426913-b478-4309-9bab-f547b62b11a6","status":"Succeeded","startTime":"2019-07-02T23:44:59.9012305Z","endTime":"2019-07-02T23:45:50.8062909Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2c519171-b373-4417-b2ed-ac2fec01f300","name":"2c519171-b373-4417-b2ed-ac2fec01f300","status":"Succeeded","startTime":"2019-09-27T13:38:24.0364985Z","endTime":"2019-09-27T13:39:10.6395139Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:46:09 GMT + - Fri, 27 Sep 2019 13:39:25 GMT expires: - '-1' pragma: @@ -1506,26 +1552,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:48:13 GMT + - Fri, 27 Sep 2019 13:39:25 GMT expires: - '-1' pragma: @@ -1551,30 +1596,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62f2bb15-f350-4ad6-9812-faf9d0bad247?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/07bb0ec5-251c-4707-a665-104616bc6a2b?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:48:15 GMT + - Fri, 27 Sep 2019 13:39:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62f2bb15-f350-4ad6-9812-faf9d0bad247?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/07bb0ec5-251c-4707-a665-104616bc6a2b?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1586,7 +1631,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' x-powered-by: - ASP.NET status: @@ -1602,24 +1647,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62f2bb15-f350-4ad6-9812-faf9d0bad247?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/07bb0ec5-251c-4707-a665-104616bc6a2b?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62f2bb15-f350-4ad6-9812-faf9d0bad247","name":"62f2bb15-f350-4ad6-9812-faf9d0bad247","status":"Succeeded","startTime":"2019-07-02T23:48:15.4832605Z","endTime":"2019-07-02T23:48:15.7645173Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/07bb0ec5-251c-4707-a665-104616bc6a2b","name":"07bb0ec5-251c-4707-a665-104616bc6a2b","status":"Succeeded","startTime":"2019-09-27T13:39:27.7156696Z","endTime":"2019-09-27T13:39:27.8406168Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:48:46 GMT + - Fri, 27 Sep 2019 13:39:58 GMT expires: - '-1' pragma: @@ -1650,27 +1695,182 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:39:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14995' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:39:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14994' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:39:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14993' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Fri, 27 Sep 2019 13:40:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14992' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:48:47 GMT + - Fri, 27 Sep 2019 13:40:00 GMT expires: - '-1' pragma: @@ -1696,30 +1896,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f82499b7-b1f0-406e-9ca1-c39c8591bfdc?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8442e5db-9253-462b-be14-22e55d967393?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:48:50 GMT + - Fri, 27 Sep 2019 13:40:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f82499b7-b1f0-406e-9ca1-c39c8591bfdc?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8442e5db-9253-462b-be14-22e55d967393?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1731,7 +1931,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14991' x-powered-by: - ASP.NET status: @@ -1747,24 +1947,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f82499b7-b1f0-406e-9ca1-c39c8591bfdc?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8442e5db-9253-462b-be14-22e55d967393?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f82499b7-b1f0-406e-9ca1-c39c8591bfdc","name":"f82499b7-b1f0-406e-9ca1-c39c8591bfdc","status":"Succeeded","startTime":"2019-07-02T23:48:50.2119627Z","endTime":"2019-07-02T23:48:50.368535Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8442e5db-9253-462b-be14-22e55d967393","name":"8442e5db-9253-462b-be14-22e55d967393","status":"Succeeded","startTime":"2019-09-27T13:40:01.0182815Z","endTime":"2019-09-27T13:40:01.1276407Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '520' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:49:20 GMT + - Fri, 27 Sep 2019 13:40:32 GMT expires: - '-1' pragma: @@ -1796,26 +1996,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:49:21 GMT + - Fri, 27 Sep 2019 13:40:31 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml index 23d181119ff3..05378659b3ef 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A49%3A51.4072193Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A04%3A24.3486654Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9a78497-e38d-4404-a314-880523afea63?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e257c755-3140-437d-ad28-06e37b08d71f?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:49:51 GMT + - Fri, 27 Sep 2019 12:04:24 GMT etag: - - W/"datetime'2019-07-02T23%3A49%3A51.4072193Z'" + - W/"datetime'2019-09-27T12%3A04%3A24.3486654Z'" expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9a78497-e38d-4404-a314-880523afea63?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e257c755-3140-437d-ad28-06e37b08d71f?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9a78497-e38d-4404-a314-880523afea63","name":"b9a78497-e38d-4404-a314-880523afea63","status":"Succeeded","startTime":"2019-07-02T23:49:51.2769863Z","endTime":"2019-07-02T23:49:51.5417643Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/e257c755-3140-437d-ad28-06e37b08d71f","name":"e257c755-3140-437d-ad28-06e37b08d71f","status":"Succeeded","startTime":"2019-09-27T12:04:24.304917Z","endTime":"2019-09-27T12:04:24.398712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '515' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:50:22 GMT + - Fri, 27 Sep 2019 12:04:55 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A49%3A51.5313068Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A04%3A24.3987012Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:50:23 GMT + - Fri, 27 Sep 2019 12:04:55 GMT etag: - - W/"datetime'2019-07-02T23%3A49%3A51.5313068Z'" + - W/"datetime'2019-09-27T12%3A04%3A24.3987012Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A50%3A26.3398813Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A04%3A57.8759178Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba66560b-c991-49f9-a6b3-8b72bc6bf8a9?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/770cc1c0-27da-4cc3-a41b-3fcef02da34c?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:50:26 GMT + - Fri, 27 Sep 2019 12:04:58 GMT etag: - - W/"datetime'2019-07-02T23%3A50%3A26.3398813Z'" + - W/"datetime'2019-09-27T12%3A04%3A57.8759178Z'" expires: - '-1' pragma: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba66560b-c991-49f9-a6b3-8b72bc6bf8a9?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/770cc1c0-27da-4cc3-a41b-3fcef02da34c?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ba66560b-c991-49f9-a6b3-8b72bc6bf8a9","name":"ba66560b-c991-49f9-a6b3-8b72bc6bf8a9","status":"Succeeded","startTime":"2019-07-02T23:50:26.2147441Z","endTime":"2019-07-02T23:50:26.7928614Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/770cc1c0-27da-4cc3-a41b-3fcef02da34c","name":"770cc1c0-27da-4cc3-a41b-3fcef02da34c","status":"Succeeded","startTime":"2019-09-27T12:04:57.8354862Z","endTime":"2019-09-27T12:04:58.1793205Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:50:58 GMT + - Fri, 27 Sep 2019 12:05:29 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A50%3A26.7871967Z''\"","location":"westcentralus","properties":{"poolId":"24a63a44-8d36-04b0-8639-4c988c21edc1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A04%3A58.1801368Z''\"","location":"westcentralus","properties":{"poolId":"9e257f6b-cf4b-ba27-4ef0-3ab53017baab","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:51:00 GMT + - Fri, 27 Sep 2019 12:05:30 GMT etag: - - W/"datetime'2019-07-02T23%3A50%3A26.7871967Z'" + - W/"datetime'2019-09-27T12%3A04%3A58.1801368Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A51%3A13.8203971Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A05%3A42.0218304Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:51:13 GMT + - Fri, 27 Sep 2019 12:05:42 GMT etag: - - W/"datetime'2019-07-02T23%3A51%3A13.8203971Z'" + - W/"datetime'2019-09-27T12%3A05%3A42.0218304Z'" expires: - '-1' pragma: @@ -370,7 +369,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64","name":"90f09be9-01a6-41b5-9a9f-dcafea2e7b64","status":"Creating","startTime":"2019-07-02T23:51:13.686044Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0","name":"0eb00a64-564c-42e8-923a-7391ca88b4e0","status":"Creating","startTime":"2019-09-27T12:05:41.9152852Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '570' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:51:45 GMT + - Fri, 27 Sep 2019 12:06:13 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64","name":"90f09be9-01a6-41b5-9a9f-dcafea2e7b64","status":"Creating","startTime":"2019-07-02T23:51:13.686044Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0","name":"0eb00a64-564c-42e8-923a-7391ca88b4e0","status":"Creating","startTime":"2019-09-27T12:05:41.9152852Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '570' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:52:16 GMT + - Fri, 27 Sep 2019 12:06:44 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64","name":"90f09be9-01a6-41b5-9a9f-dcafea2e7b64","status":"Creating","startTime":"2019-07-02T23:51:13.686044Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0","name":"0eb00a64-564c-42e8-923a-7391ca88b4e0","status":"Creating","startTime":"2019-09-27T12:05:41.9152852Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '570' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:52:47 GMT + - Fri, 27 Sep 2019 12:07:14 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64","name":"90f09be9-01a6-41b5-9a9f-dcafea2e7b64","status":"Creating","startTime":"2019-07-02T23:51:13.686044Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0","name":"0eb00a64-564c-42e8-923a-7391ca88b4e0","status":"Creating","startTime":"2019-09-27T12:05:41.9152852Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '570' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:53:19 GMT + - Fri, 27 Sep 2019 12:07:44 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64","name":"90f09be9-01a6-41b5-9a9f-dcafea2e7b64","status":"Creating","startTime":"2019-07-02T23:51:13.686044Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0","name":"0eb00a64-564c-42e8-923a-7391ca88b4e0","status":"Creating","startTime":"2019-09-27T12:05:41.9152852Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '570' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:53:50 GMT + - Fri, 27 Sep 2019 12:08:15 GMT expires: - '-1' pragma: @@ -631,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/90f09be9-01a6-41b5-9a9f-dcafea2e7b64","name":"90f09be9-01a6-41b5-9a9f-dcafea2e7b64","status":"Succeeded","startTime":"2019-07-02T23:51:13.686044Z","endTime":"2019-07-02T23:54:08.7876062Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0eb00a64-564c-42e8-923a-7391ca88b4e0","name":"0eb00a64-564c-42e8-923a-7391ca88b4e0","status":"Succeeded","startTime":"2019-09-27T12:05:41.9152852Z","endTime":"2019-09-27T12:08:33.5797295Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '581' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:54:21 GMT + - Fri, 27 Sep 2019 12:08:46 GMT expires: - '-1' pragma: @@ -680,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A54%3A08.7888458Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"b0ff88a5-1c31-856e-f5ac-ba77bb721579","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_e5b5b023","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"72bd14c2-6e05-b5ed-9bef-f7c8a082f20a","fileSystemId":"b0ff88a5-1c31-856e-f5ac-ba77bb721579","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A08%3A33.5870784Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"f1a59ade-3952-946d-20f7-ae9d9fbff12e","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_370260dc","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"dbd071f3-c174-8f4f-ad8a-1a930f319066","fileSystemId":"f1a59ade-3952-946d-20f7-ae9d9fbff12e","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1406' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:54:23 GMT + - Fri, 27 Sep 2019 12:08:46 GMT etag: - - W/"datetime'2019-07-02T23%3A54%3A08.7888458Z'" + - W/"datetime'2019-09-27T12%3A08%3A33.5870784Z'" expires: - '-1' pragma: @@ -731,26 +730,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A54%3A08.7888458Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"b0ff88a5-1c31-856e-f5ac-ba77bb721579","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_e5b5b023","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"72bd14c2-6e05-b5ed-9bef-f7c8a082f20a","fileSystemId":"b0ff88a5-1c31-856e-f5ac-ba77bb721579","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A08%3A33.5870784Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"f1a59ade-3952-946d-20f7-ae9d9fbff12e","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_370260dc","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"dbd071f3-c174-8f4f-ad8a-1a930f319066","fileSystemId":"f1a59ade-3952-946d-20f7-ae9d9fbff12e","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1442' + - '1418' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:54:23 GMT + - Fri, 27 Sep 2019 12:08:47 GMT expires: - '-1' pragma: @@ -784,30 +783,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fe9b31eb-3bd2-42cb-b267-1e6fe81621bd?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:54:25 GMT + - Fri, 27 Sep 2019 12:08:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fe9b31eb-3bd2-42cb-b267-1e6fe81621bd?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -835,24 +834,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fe9b31eb-3bd2-42cb-b267-1e6fe81621bd?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fe9b31eb-3bd2-42cb-b267-1e6fe81621bd","name":"fe9b31eb-3bd2-42cb-b267-1e6fe81621bd","status":"Deleting","startTime":"2019-07-02T23:54:26.0426864Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9","name":"5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9","status":"Deleting","startTime":"2019-09-27T12:08:49.0087674Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:54:58 GMT + - Fri, 27 Sep 2019 12:09:20 GMT expires: - '-1' pragma: @@ -884,24 +883,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fe9b31eb-3bd2-42cb-b267-1e6fe81621bd?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fe9b31eb-3bd2-42cb-b267-1e6fe81621bd","name":"fe9b31eb-3bd2-42cb-b267-1e6fe81621bd","status":"Succeeded","startTime":"2019-07-02T23:54:26.0426864Z","endTime":"2019-07-02T23:55:23.1640776Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9","name":"5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9","status":"Deleting","startTime":"2019-09-27T12:08:49.0087674Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:55:29 GMT + - Fri, 27 Sep 2019 12:09:50 GMT expires: - '-1' pragma: @@ -933,26 +932,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9","name":"5c6438a3-e72c-4f6e-88e3-3e0c53ed69f9","status":"Succeeded","startTime":"2019-09-27T12:08:49.0087674Z","endTime":"2019-09-27T12:09:52.7741498Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '12' + - '578' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:55:30 GMT + - Fri, 27 Sep 2019 12:10:20 GMT expires: - '-1' pragma: @@ -984,28 +981,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - resource with identifier ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - is not found."}}' + string: '{"value":[]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '304' + - '12' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:55:31 GMT + - Fri, 27 Sep 2019 12:10:22 GMT expires: - '-1' pragma: @@ -1016,10 +1011,56 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-powered-by: - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' + headers: + cache-control: + - no-cache + content-length: + - '231' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 12:10:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway status: code: 404 message: Not Found @@ -1035,30 +1076,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b0ae5d0c-0ebb-4be3-bbec-7e77d701482e?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed81574e-32bc-4f53-9b94-f7a5c6967174?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:55:34 GMT + - Fri, 27 Sep 2019 12:10:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b0ae5d0c-0ebb-4be3-bbec-7e77d701482e?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed81574e-32bc-4f53-9b94-f7a5c6967174?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1070,7 +1111,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' x-powered-by: - ASP.NET status: @@ -1086,24 +1127,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b0ae5d0c-0ebb-4be3-bbec-7e77d701482e?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed81574e-32bc-4f53-9b94-f7a5c6967174?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b0ae5d0c-0ebb-4be3-bbec-7e77d701482e","name":"b0ae5d0c-0ebb-4be3-bbec-7e77d701482e","status":"Succeeded","startTime":"2019-07-02T23:55:33.963945Z","endTime":"2019-07-02T23:55:34.2764675Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed81574e-32bc-4f53-9b94-f7a5c6967174","name":"ed81574e-32bc-4f53-9b94-f7a5c6967174","status":"Succeeded","startTime":"2019-09-27T12:10:23.5355121Z","endTime":"2019-09-27T12:10:23.7385692Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '554' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:56:07 GMT + - Fri, 27 Sep 2019 12:10:54 GMT expires: - '-1' pragma: @@ -1135,26 +1176,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:56:18 GMT + - Fri, 27 Sep 2019 12:11:04 GMT expires: - '-1' pragma: @@ -1180,30 +1220,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad240b43-bcde-4fe4-b4d5-f30729ffaac5?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2219b963-9bd5-4217-857a-eec68f879849?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 02 Jul 2019 23:56:21 GMT + - Fri, 27 Sep 2019 12:11:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad240b43-bcde-4fe4-b4d5-f30729ffaac5?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2219b963-9bd5-4217-857a-eec68f879849?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1231,24 +1271,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad240b43-bcde-4fe4-b4d5-f30729ffaac5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2219b963-9bd5-4217-857a-eec68f879849?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad240b43-bcde-4fe4-b4d5-f30729ffaac5","name":"ad240b43-bcde-4fe4-b4d5-f30729ffaac5","status":"Succeeded","startTime":"2019-07-02T23:56:21.7923845Z","endTime":"2019-07-02T23:56:21.9330081Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2219b963-9bd5-4217-857a-eec68f879849","name":"2219b963-9bd5-4217-857a-eec68f879849","status":"Succeeded","startTime":"2019-09-27T12:11:05.864819Z","endTime":"2019-09-27T12:11:05.9585299Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:56:56 GMT + - Fri, 27 Sep 2019 12:11:36 GMT expires: - '-1' pragma: @@ -1280,26 +1320,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:56:59 GMT + - Fri, 27 Sep 2019 12:11:38 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml index 1fe908b70cdf..a9b04f0782bc 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A57%3A32.6979815Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T09%3A03%3A16.8137211Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a5d40a0b-58f8-4dd1-a878-2fb21fe63208?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1ecf4af6-f78b-42c8-8666-4e52e4f42609?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:57:32 GMT + - Fri, 27 Sep 2019 09:03:17 GMT etag: - - W/"datetime'2019-07-02T23%3A57%3A32.6979815Z'" + - W/"datetime'2019-09-27T09%3A03%3A16.8137211Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a5d40a0b-58f8-4dd1-a878-2fb21fe63208?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1ecf4af6-f78b-42c8-8666-4e52e4f42609?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a5d40a0b-58f8-4dd1-a878-2fb21fe63208","name":"a5d40a0b-58f8-4dd1-a878-2fb21fe63208","status":"Succeeded","startTime":"2019-07-02T23:57:32.5675976Z","endTime":"2019-07-02T23:57:32.8330053Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1ecf4af6-f78b-42c8-8666-4e52e4f42609","name":"1ecf4af6-f78b-42c8-8666-4e52e4f42609","status":"Succeeded","startTime":"2019-09-27T09:03:16.7621039Z","endTime":"2019-09-27T09:03:16.8558973Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:58:08 GMT + - Fri, 27 Sep 2019 09:03:47 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-02T23%3A57%3A32.8220686Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T09%3A03%3A16.8627561Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:58:14 GMT + - Fri, 27 Sep 2019 09:03:48 GMT etag: - - W/"datetime'2019-07-02T23%3A57%3A32.8220686Z'" + - W/"datetime'2019-09-27T09%3A03%3A16.8627561Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A58%3A20.6588292Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T09%3A03%3A50.3237109Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed256cf4-d01f-4f67-baca-9b9be07e7e96?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/82a67511-2c68-4fdc-b2e0-3c15954060da?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:58:20 GMT + - Fri, 27 Sep 2019 09:03:50 GMT etag: - - W/"datetime'2019-07-02T23%3A58%3A20.6588292Z'" + - W/"datetime'2019-09-27T09%3A03%3A50.3237109Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed256cf4-d01f-4f67-baca-9b9be07e7e96?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/82a67511-2c68-4fdc-b2e0-3c15954060da?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ed256cf4-d01f-4f67-baca-9b9be07e7e96","name":"ed256cf4-d01f-4f67-baca-9b9be07e7e96","status":"Succeeded","startTime":"2019-07-02T23:58:20.4862422Z","endTime":"2019-07-02T23:58:21.0798888Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/82a67511-2c68-4fdc-b2e0-3c15954060da","name":"82a67511-2c68-4fdc-b2e0-3c15954060da","status":"Succeeded","startTime":"2019-09-27T09:03:50.2790015Z","endTime":"2019-09-27T09:03:50.6863714Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:58:56 GMT + - Fri, 27 Sep 2019 09:04:22 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-02T23%3A58%3A21.0781287Z''\"","location":"westcentralus","properties":{"poolId":"84c3f414-60b0-08bd-7324-b75b02be26a3","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T09%3A03%3A50.6879725Z''\"","location":"westcentralus","properties":{"poolId":"2aba5333-4143-db29-a21f-e645fb089959","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:59:03 GMT + - Fri, 27 Sep 2019 09:04:22 GMT etag: - - W/"datetime'2019-07-02T23%3A58%3A21.0781287Z'" + - W/"datetime'2019-09-27T09%3A03%3A50.6879725Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-02T23%3A59%3A21.041455Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A04%3A34.7636359Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 cache-control: - no-cache content-length: - - '757' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:59:21 GMT + - Fri, 27 Sep 2019 09:04:34 GMT etag: - - W/"datetime'2019-07-02T23%3A59%3A21.041455Z'" + - W/"datetime'2019-09-27T09%3A04%3A34.7636359Z'" expires: - '-1' pragma: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56","name":"ad5b1baf-4114-4f9a-9e86-604e3eedeb56","status":"Creating","startTime":"2019-07-02T23:59:20.9165963Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0","name":"06e04906-ec32-4420-8ec5-ff9c96c6cde0","status":"Creating","startTime":"2019-09-27T09:04:34.6670268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Tue, 02 Jul 2019 23:59:56 GMT + - Fri, 27 Sep 2019 09:05:06 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56","name":"ad5b1baf-4114-4f9a-9e86-604e3eedeb56","status":"Creating","startTime":"2019-07-02T23:59:20.9165963Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0","name":"06e04906-ec32-4420-8ec5-ff9c96c6cde0","status":"Creating","startTime":"2019-09-27T09:04:34.6670268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:00:31 GMT + - Fri, 27 Sep 2019 09:05:36 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56","name":"ad5b1baf-4114-4f9a-9e86-604e3eedeb56","status":"Creating","startTime":"2019-07-02T23:59:20.9165963Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0","name":"06e04906-ec32-4420-8ec5-ff9c96c6cde0","status":"Creating","startTime":"2019-09-27T09:04:34.6670268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:01:09 GMT + - Fri, 27 Sep 2019 09:06:07 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56","name":"ad5b1baf-4114-4f9a-9e86-604e3eedeb56","status":"Creating","startTime":"2019-07-02T23:59:20.9165963Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0","name":"06e04906-ec32-4420-8ec5-ff9c96c6cde0","status":"Creating","startTime":"2019-09-27T09:04:34.6670268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:01:46 GMT + - Fri, 27 Sep 2019 09:06:37 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad5b1baf-4114-4f9a-9e86-604e3eedeb56","name":"ad5b1baf-4114-4f9a-9e86-604e3eedeb56","status":"Succeeded","startTime":"2019-07-02T23:59:20.9165963Z","endTime":"2019-07-03T00:02:12.861588Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0","name":"06e04906-ec32-4420-8ec5-ff9c96c6cde0","status":"Creating","startTime":"2019-09-27T09:04:34.6670268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '581' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:02:21 GMT + - Fri, 27 Sep 2019 09:07:08 GMT expires: - '-1' pragma: @@ -631,26 +630,75 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A02%3A12.8607294Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"6d5f6baa-b30e-2929-fb47-21bcfbc8fc2a","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_4beae62d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"bf2b0604-4ea0-10b8-30bf-a21bf45591ab","fileSystemId":"6d5f6baa-b30e-2929-fb47-21bcfbc8fc2a","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/06e04906-ec32-4420-8ec5-ff9c96c6cde0","name":"06e04906-ec32-4420-8ec5-ff9c96c6cde0","status":"Succeeded","startTime":"2019-09-27T09:04:34.6670268Z","endTime":"2019-09-27T09:07:18.8122407Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:02:25 GMT + - Fri, 27 Sep 2019 09:07:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A07%3A18.8238773Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"791117d1-1018-37c8-63db-fcf3507fc29d","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_5244fa2c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"ffd6a48d-c92e-cab7-4d71-24dfbda8e3dd","fileSystemId":"791117d1-1018-37c8-63db-fcf3507fc29d","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1406' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 09:07:38 GMT etag: - - W/"datetime'2019-07-03T00%3A02%3A12.8607294Z'" + - W/"datetime'2019-09-27T09%3A07%3A18.8238773Z'" expires: - '-1' pragma: @@ -682,28 +730,28 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A02%3A12.8607294Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"6d5f6baa-b30e-2929-fb47-21bcfbc8fc2a","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_4beae62d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"bf2b0604-4ea0-10b8-30bf-a21bf45591ab","fileSystemId":"6d5f6baa-b30e-2929-fb47-21bcfbc8fc2a","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A07%3A18.8238773Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"791117d1-1018-37c8-63db-fcf3507fc29d","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_5244fa2c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"ffd6a48d-c92e-cab7-4d71-24dfbda8e3dd","fileSystemId":"791117d1-1018-37c8-63db-fcf3507fc29d","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1406' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:02:30 GMT + - Fri, 27 Sep 2019 09:07:40 GMT etag: - - W/"datetime'2019-07-03T00%3A02%3A12.8607294Z'" + - W/"datetime'2019-09-27T09%3A07%3A18.8238773Z'" expires: - '-1' pragma: @@ -737,30 +785,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/67398b7a-8258-4f6b-9d82-b79ce323dce0?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:02:34 GMT + - Fri, 27 Sep 2019 09:07:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/67398b7a-8258-4f6b-9d82-b79ce323dce0?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -788,24 +836,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/67398b7a-8258-4f6b-9d82-b79ce323dce0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/67398b7a-8258-4f6b-9d82-b79ce323dce0","name":"67398b7a-8258-4f6b-9d82-b79ce323dce0","status":"Deleting","startTime":"2019-07-03T00:02:34.4399634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b","name":"ad6824d2-6cba-4d19-b90b-2cb8587f188b","status":"Deleting","startTime":"2019-09-27T09:07:41.7985706Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:03:09 GMT + - Fri, 27 Sep 2019 09:08:13 GMT expires: - '-1' pragma: @@ -837,24 +885,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/67398b7a-8258-4f6b-9d82-b79ce323dce0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/67398b7a-8258-4f6b-9d82-b79ce323dce0","name":"67398b7a-8258-4f6b-9d82-b79ce323dce0","status":"Succeeded","startTime":"2019-07-03T00:02:34.4399634Z","endTime":"2019-07-03T00:03:17.6230709Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b","name":"ad6824d2-6cba-4d19-b90b-2cb8587f188b","status":"Deleting","startTime":"2019-09-27T09:07:41.7985706Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:03:44 GMT + - Fri, 27 Sep 2019 09:08:43 GMT expires: - '-1' pragma: @@ -886,26 +934,74 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ad6824d2-6cba-4d19-b90b-2cb8587f188b","name":"ad6824d2-6cba-4d19-b90b-2cb8587f188b","status":"Succeeded","startTime":"2019-09-27T09:07:41.7985706Z","endTime":"2019-09-27T09:09:04.3994215Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '578' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 09:09:13 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:07:10 GMT + - Fri, 27 Sep 2019 09:12:34 GMT expires: - '-1' pragma: @@ -931,30 +1027,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4484ceb1-f89a-473c-a754-78f39faaad0c?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8cbaeab7-f29d-498f-89ee-a176e7574fc3?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:07:16 GMT + - Fri, 27 Sep 2019 09:12:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4484ceb1-f89a-473c-a754-78f39faaad0c?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8cbaeab7-f29d-498f-89ee-a176e7574fc3?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -966,7 +1062,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-powered-by: - ASP.NET status: @@ -982,24 +1078,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4484ceb1-f89a-473c-a754-78f39faaad0c?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8cbaeab7-f29d-498f-89ee-a176e7574fc3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4484ceb1-f89a-473c-a754-78f39faaad0c","name":"4484ceb1-f89a-473c-a754-78f39faaad0c","status":"Succeeded","startTime":"2019-07-03T00:07:16.5935215Z","endTime":"2019-07-03T00:07:17.0719584Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8cbaeab7-f29d-498f-89ee-a176e7574fc3","name":"8cbaeab7-f29d-498f-89ee-a176e7574fc3","status":"Succeeded","startTime":"2019-09-27T09:12:35.4435263Z","endTime":"2019-09-27T09:12:35.6155175Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:07:51 GMT + - Fri, 27 Sep 2019 09:13:06 GMT expires: - '-1' pragma: @@ -1031,26 +1127,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:08:04 GMT + - Fri, 27 Sep 2019 09:13:16 GMT expires: - '-1' pragma: @@ -1076,30 +1171,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d1f28803-48ea-493f-83fd-b1ae34e53196?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/57000315-2077-433d-af39-9ed04af78f17?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:08:10 GMT + - Fri, 27 Sep 2019 09:13:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d1f28803-48ea-493f-83fd-b1ae34e53196?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/57000315-2077-433d-af39-9ed04af78f17?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1127,24 +1222,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d1f28803-48ea-493f-83fd-b1ae34e53196?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/57000315-2077-433d-af39-9ed04af78f17?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d1f28803-48ea-493f-83fd-b1ae34e53196","name":"d1f28803-48ea-493f-83fd-b1ae34e53196","status":"Succeeded","startTime":"2019-07-03T00:08:11.1216524Z","endTime":"2019-07-03T00:08:11.2935509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/57000315-2077-433d-af39-9ed04af78f17","name":"57000315-2077-433d-af39-9ed04af78f17","status":"Succeeded","startTime":"2019-09-27T09:13:17.7867783Z","endTime":"2019-09-27T09:13:17.8649267Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:08:45 GMT + - Fri, 27 Sep 2019 09:13:48 GMT expires: - '-1' pragma: @@ -1176,26 +1271,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:08:52 GMT + - Fri, 27 Sep 2019 09:13:51 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml index 7d69fb3b6dc7..6dc0191665e4 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T00%3A09%3A11.4279762Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T09%3A13%3A55.7488442Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/aa1f5f91-2004-405e-b7ca-98cedd0702d6?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ed2a8a3-381f-48dc-8d7f-59d03754ad3a?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:09:11 GMT + - Fri, 27 Sep 2019 09:13:55 GMT etag: - - W/"datetime'2019-07-03T00%3A09%3A11.4279762Z'" + - W/"datetime'2019-09-27T09%3A13%3A55.7488442Z'" expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/aa1f5f91-2004-405e-b7ca-98cedd0702d6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ed2a8a3-381f-48dc-8d7f-59d03754ad3a?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/aa1f5f91-2004-405e-b7ca-98cedd0702d6","name":"aa1f5f91-2004-405e-b7ca-98cedd0702d6","status":"Succeeded","startTime":"2019-07-03T00:09:11.2816306Z","endTime":"2019-07-03T00:09:11.5628555Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5ed2a8a3-381f-48dc-8d7f-59d03754ad3a","name":"5ed2a8a3-381f-48dc-8d7f-59d03754ad3a","status":"Succeeded","startTime":"2019-09-27T09:13:55.6922334Z","endTime":"2019-09-27T09:13:55.7859867Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:09:45 GMT + - Fri, 27 Sep 2019 09:14:27 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T00%3A09%3A11.5530632Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T09%3A13%3A55.7988805Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:09:50 GMT + - Fri, 27 Sep 2019 09:14:27 GMT etag: - - W/"datetime'2019-07-03T00%3A09%3A11.5530632Z'" + - W/"datetime'2019-09-27T09%3A13%3A55.7988805Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T00%3A09%3A55.5360522Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T09%3A14%3A29.2571305Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5e28148e-593c-403e-a118-5b68f9ddb1d6?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ee7cb4b6-e422-4eb2-a9fd-ef527eda26b7?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:09:55 GMT + - Fri, 27 Sep 2019 09:14:29 GMT etag: - - W/"datetime'2019-07-03T00%3A09%3A55.5360522Z'" + - W/"datetime'2019-09-27T09%3A14%3A29.2571305Z'" expires: - '-1' pragma: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5e28148e-593c-403e-a118-5b68f9ddb1d6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ee7cb4b6-e422-4eb2-a9fd-ef527eda26b7?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5e28148e-593c-403e-a118-5b68f9ddb1d6","name":"5e28148e-593c-403e-a118-5b68f9ddb1d6","status":"Succeeded","startTime":"2019-07-03T00:09:55.4012205Z","endTime":"2019-07-03T00:09:56.0574731Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ee7cb4b6-e422-4eb2-a9fd-ef527eda26b7","name":"ee7cb4b6-e422-4eb2-a9fd-ef527eda26b7","status":"Succeeded","startTime":"2019-09-27T09:14:29.1926558Z","endTime":"2019-09-27T09:14:29.5676616Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:10:34 GMT + - Fri, 27 Sep 2019 09:15:00 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T00%3A09%3A56.0494146Z''\"","location":"westcentralus","properties":{"poolId":"dd3bf329-4ac6-5740-5ce9-a670bb326047","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T09%3A14%3A29.5773631Z''\"","location":"westcentralus","properties":{"poolId":"ba8a4372-b497-82da-055e-4acf0b52371a","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:10:38 GMT + - Fri, 27 Sep 2019 09:15:01 GMT etag: - - W/"datetime'2019-07-03T00%3A09%3A56.0494146Z'" + - W/"datetime'2019-09-27T09%3A14%3A29.5773631Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A10%3A58.2272932Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A15%3A13.6843312Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:10:58 GMT + - Fri, 27 Sep 2019 09:15:13 GMT etag: - - W/"datetime'2019-07-03T00%3A10%3A58.2272932Z'" + - W/"datetime'2019-09-27T09%3A15%3A13.6843312Z'" expires: - '-1' pragma: @@ -370,7 +369,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759","name":"8704958d-7224-482e-ae0e-94ae68769759","status":"Creating","startTime":"2019-07-03T00:10:58.0643596Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09","name":"62702119-7a6e-427d-b43f-15b00f3f5d09","status":"Creating","startTime":"2019-09-27T09:15:13.6289934Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:11:32 GMT + - Fri, 27 Sep 2019 09:15:46 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759","name":"8704958d-7224-482e-ae0e-94ae68769759","status":"Creating","startTime":"2019-07-03T00:10:58.0643596Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09","name":"62702119-7a6e-427d-b43f-15b00f3f5d09","status":"Creating","startTime":"2019-09-27T09:15:13.6289934Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:12:07 GMT + - Fri, 27 Sep 2019 09:16:16 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759","name":"8704958d-7224-482e-ae0e-94ae68769759","status":"Creating","startTime":"2019-07-03T00:10:58.0643596Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09","name":"62702119-7a6e-427d-b43f-15b00f3f5d09","status":"Creating","startTime":"2019-09-27T09:15:13.6289934Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:12:39 GMT + - Fri, 27 Sep 2019 09:16:46 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759","name":"8704958d-7224-482e-ae0e-94ae68769759","status":"Creating","startTime":"2019-07-03T00:10:58.0643596Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09","name":"62702119-7a6e-427d-b43f-15b00f3f5d09","status":"Creating","startTime":"2019-09-27T09:15:13.6289934Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:13:11 GMT + - Fri, 27 Sep 2019 09:17:16 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759","name":"8704958d-7224-482e-ae0e-94ae68769759","status":"Creating","startTime":"2019-07-03T00:10:58.0643596Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09","name":"62702119-7a6e-427d-b43f-15b00f3f5d09","status":"Creating","startTime":"2019-09-27T09:15:13.6289934Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:13:42 GMT + - Fri, 27 Sep 2019 09:17:47 GMT expires: - '-1' pragma: @@ -631,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8704958d-7224-482e-ae0e-94ae68769759","name":"8704958d-7224-482e-ae0e-94ae68769759","status":"Succeeded","startTime":"2019-07-03T00:10:58.0643596Z","endTime":"2019-07-03T00:13:43.5811681Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62702119-7a6e-427d-b43f-15b00f3f5d09","name":"62702119-7a6e-427d-b43f-15b00f3f5d09","status":"Succeeded","startTime":"2019-09-27T09:15:13.6289934Z","endTime":"2019-09-27T09:18:04.9181548Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:14:13 GMT + - Fri, 27 Sep 2019 09:18:17 GMT expires: - '-1' pragma: @@ -680,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A13%3A43.564956Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"34f4f763-d0ce-0888-e0ce-5f848b4df495","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_6a428680","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e02e8464-15a4-799a-3f29-fc939c99768a","fileSystemId":"34f4f763-d0ce-0888-e0ce-5f848b4df495","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A18%3A04.9266651Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"201e5c30-fb2e-5d32-8a11-ecc8919d0aef","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_c6fd456e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"51cdf8d4-4000-c0a1-21f1-c20c3cc23c9f","fileSystemId":"201e5c30-fb2e-5d32-8a11-ecc8919d0aef","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1429' + - '1406' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:14:15 GMT + - Fri, 27 Sep 2019 09:18:18 GMT etag: - - W/"datetime'2019-07-03T00%3A13%3A43.564956Z'" + - W/"datetime'2019-09-27T09%3A18%3A04.9266651Z'" expires: - '-1' pragma: @@ -722,10 +721,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-2"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-2", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -734,34 +732,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A14%3A19.3962391Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A18%3A22.6290492Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e93ea61-d760-48aa-97e5-a3b47a04efa6?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2214eeee-33a3-4fde-b43f-93c0f04805cb?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:14:19 GMT + - Fri, 27 Sep 2019 09:18:22 GMT etag: - - W/"datetime'2019-07-03T00%3A14%3A19.3962391Z'" + - W/"datetime'2019-09-27T09%3A18%3A22.6290492Z'" expires: - '-1' pragma: @@ -775,7 +773,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -791,24 +789,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e93ea61-d760-48aa-97e5-a3b47a04efa6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2214eeee-33a3-4fde-b43f-93c0f04805cb?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8e93ea61-d760-48aa-97e5-a3b47a04efa6","name":"8e93ea61-d760-48aa-97e5-a3b47a04efa6","status":"Succeeded","startTime":"2019-07-03T00:14:19.2624144Z","endTime":"2019-07-03T00:14:35.528156Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2214eeee-33a3-4fde-b43f-93c0f04805cb","name":"2214eeee-33a3-4fde-b43f-93c0f04805cb","status":"Succeeded","startTime":"2019-09-27T09:18:22.5525618Z","endTime":"2019-09-27T09:18:35.5929981Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '581' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:14:50 GMT + - Fri, 27 Sep 2019 09:18:54 GMT expires: - '-1' pragma: @@ -840,26 +838,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A14%3A35.5106082Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"fb1d30e0-452c-95dc-4785-8949d2dd7413","name":"sdk-py-tests-vol-2","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_6a428680","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"40b2e55a-1571-0596-bb97-4f66a974ee24","fileSystemId":"fb1d30e0-452c-95dc-4785-8949d2dd7413","startIp":"10.0.0.64","endIp":"10.0.0.127","gateway":"10.0.0.65","netmask":"255.255.255.192","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A18%3A35.5941187Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"3121091c-f489-7f31-a753-a40154199a69","name":"sdk-py-tests-vol-2","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_c6fd456e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"01b58709-67de-40a2-a330-6e403e348bd8","fileSystemId":"3121091c-f489-7f31-a753-a40154199a69","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1431' + - '1406' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:14:52 GMT + - Fri, 27 Sep 2019 09:18:54 GMT etag: - - W/"datetime'2019-07-03T00%3A14%3A35.5106082Z'" + - W/"datetime'2019-09-27T09%3A18%3A35.5941187Z'" expires: - '-1' pragma: @@ -891,26 +889,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2019-07-01 response: body: - string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A13%3A43.564956Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"34f4f763-d0ce-0888-e0ce-5f848b4df495","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_6a428680","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e02e8464-15a4-799a-3f29-fc939c99768a","fileSystemId":"34f4f763-d0ce-0888-e0ce-5f848b4df495","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A14%3A35.5106082Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"fb1d30e0-452c-95dc-4785-8949d2dd7413","name":"sdk-py-tests-vol-2","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_6a428680","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"40b2e55a-1571-0596-bb97-4f66a974ee24","fileSystemId":"fb1d30e0-452c-95dc-4785-8949d2dd7413","startIp":"10.0.0.64","endIp":"10.0.0.127","gateway":"10.0.0.65","netmask":"255.255.255.192","ipAddress":"10.1.18.4"}]}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A18%3A04.9266651Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"201e5c30-fb2e-5d32-8a11-ecc8919d0aef","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_c6fd456e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"51cdf8d4-4000-c0a1-21f1-c20c3cc23c9f","fileSystemId":"201e5c30-fb2e-5d32-8a11-ecc8919d0aef","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T09%3A18%3A35.5941187Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"3121091c-f489-7f31-a753-a40154199a69","name":"sdk-py-tests-vol-2","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_c6fd456e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"01b58709-67de-40a2-a330-6e403e348bd8","fileSystemId":"3121091c-f489-7f31-a753-a40154199a69","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}]}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '2873' + - '2825' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:14:53 GMT + - Fri, 27 Sep 2019 09:18:55 GMT expires: - '-1' pragma: @@ -944,30 +942,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f7b28f8-5c4f-4e36-bd65-900b13f6a22e?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/49d3329c-d772-4b78-8aec-88c13c05e0d2?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:14:55 GMT + - Fri, 27 Sep 2019 09:18:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f7b28f8-5c4f-4e36-bd65-900b13f6a22e?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/49d3329c-d772-4b78-8aec-88c13c05e0d2?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -979,7 +977,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-powered-by: - ASP.NET status: @@ -995,24 +993,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f7b28f8-5c4f-4e36-bd65-900b13f6a22e?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/49d3329c-d772-4b78-8aec-88c13c05e0d2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f7b28f8-5c4f-4e36-bd65-900b13f6a22e","name":"4f7b28f8-5c4f-4e36-bd65-900b13f6a22e","status":"Succeeded","startTime":"2019-07-03T00:14:55.03125Z","endTime":"2019-07-03T00:14:59.0937798Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/49d3329c-d772-4b78-8aec-88c13c05e0d2","name":"49d3329c-d772-4b78-8aec-88c13c05e0d2","status":"Succeeded","startTime":"2019-09-27T09:18:55.8415356Z","endTime":"2019-09-27T09:19:00.1465265Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '580' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:15:26 GMT + - Fri, 27 Sep 2019 09:19:26 GMT expires: - '-1' pragma: @@ -1046,30 +1044,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f2f326a-e75b-4236-9fbd-6d751f01c9e2?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:15:27 GMT + - Fri, 27 Sep 2019 09:19:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f2f326a-e75b-4236-9fbd-6d751f01c9e2?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1097,73 +1095,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f?api-version=2019-06-01 - response: - body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f","name":"2d6e362f-3ba8-4511-ac7c-ee2fcb05286f","status":"Deleting","startTime":"2019-07-03T00:15:28.062723Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' - headers: - access-control-expose-headers: - - Request-Context - cache-control: - - no-cache - content-length: - - '570' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jul 2019 00:15:58 GMT - expires: - - '-1' - pragma: - - no-cache - request-context: - - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f2f326a-e75b-4236-9fbd-6d751f01c9e2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f","name":"2d6e362f-3ba8-4511-ac7c-ee2fcb05286f","status":"Deleting","startTime":"2019-07-03T00:15:28.062723Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f2f326a-e75b-4236-9fbd-6d751f01c9e2","name":"4f2f326a-e75b-4236-9fbd-6d751f01c9e2","status":"Deleting","startTime":"2019-09-27T09:19:27.7094632Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '570' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:16:31 GMT + - Fri, 27 Sep 2019 09:19:59 GMT expires: - '-1' pragma: @@ -1195,24 +1144,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f2f326a-e75b-4236-9fbd-6d751f01c9e2?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/2d6e362f-3ba8-4511-ac7c-ee2fcb05286f","name":"2d6e362f-3ba8-4511-ac7c-ee2fcb05286f","status":"Succeeded","startTime":"2019-07-03T00:15:28.062723Z","endTime":"2019-07-03T00:16:35.2409423Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/4f2f326a-e75b-4236-9fbd-6d751f01c9e2","name":"4f2f326a-e75b-4236-9fbd-6d751f01c9e2","status":"Succeeded","startTime":"2019-09-27T09:19:27.7094632Z","endTime":"2019-09-27T09:20:25.40152Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '581' + - '576' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:17:02 GMT + - Fri, 27 Sep 2019 09:20:29 GMT expires: - '-1' pragma: @@ -1244,26 +1193,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:20:25 GMT + - Fri, 27 Sep 2019 09:23:50 GMT expires: - '-1' pragma: @@ -1287,26 +1235,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:23:51 GMT + - Fri, 27 Sep 2019 09:27:10 GMT expires: - '-1' pragma: @@ -1332,30 +1279,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24ad7767-13e0-40e1-adb6-86dbdef62e80?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b3178e8-9bb7-4b79-a321-314380ed290c?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:23:55 GMT + - Fri, 27 Sep 2019 09:27:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24ad7767-13e0-40e1-adb6-86dbdef62e80?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b3178e8-9bb7-4b79-a321-314380ed290c?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1383,24 +1330,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24ad7767-13e0-40e1-adb6-86dbdef62e80?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b3178e8-9bb7-4b79-a321-314380ed290c?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/24ad7767-13e0-40e1-adb6-86dbdef62e80","name":"24ad7767-13e0-40e1-adb6-86dbdef62e80","status":"Succeeded","startTime":"2019-07-03T00:23:56.1808436Z","endTime":"2019-07-03T00:23:56.3839949Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b3178e8-9bb7-4b79-a321-314380ed290c","name":"3b3178e8-9bb7-4b79-a321-314380ed290c","status":"Succeeded","startTime":"2019-09-27T09:27:12.7524929Z","endTime":"2019-09-27T09:27:12.98683Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:24:31 GMT + - Fri, 27 Sep 2019 09:27:43 GMT expires: - '-1' pragma: @@ -1432,26 +1379,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:24:44 GMT + - Fri, 27 Sep 2019 09:27:53 GMT expires: - '-1' pragma: @@ -1477,30 +1423,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dafea4b4-17d0-4dc8-9fbf-f74276c5e811?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6662662d-a6ce-458b-bb0e-f7b4f1e2dee1?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:24:50 GMT + - Fri, 27 Sep 2019 09:27:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dafea4b4-17d0-4dc8-9fbf-f74276c5e811?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6662662d-a6ce-458b-bb0e-f7b4f1e2dee1?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1528,24 +1474,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dafea4b4-17d0-4dc8-9fbf-f74276c5e811?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6662662d-a6ce-458b-bb0e-f7b4f1e2dee1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dafea4b4-17d0-4dc8-9fbf-f74276c5e811","name":"dafea4b4-17d0-4dc8-9fbf-f74276c5e811","status":"Succeeded","startTime":"2019-07-03T00:24:51.0548477Z","endTime":"2019-07-03T00:24:51.2110953Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/6662662d-a6ce-458b-bb0e-f7b4f1e2dee1","name":"6662662d-a6ce-458b-bb0e-f7b4f1e2dee1","status":"Succeeded","startTime":"2019-09-27T09:27:55.0194603Z","endTime":"2019-09-27T09:27:55.1131697Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:25:22 GMT + - Fri, 27 Sep 2019 09:28:26 GMT expires: - '-1' pragma: @@ -1577,26 +1523,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:25:25 GMT + - Fri, 27 Sep 2019 09:28:28 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml index 9d606a03c0e9..f975c2c2c549 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T00%3A25%3A30.5601953Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A11%3A43.6832131Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/12d271e6-271f-4d6d-b658-88dc42e1f0a6?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/236c2be3-a0d7-47c0-9025-05b7a8222a7a?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:25:30 GMT + - Fri, 27 Sep 2019 12:11:43 GMT etag: - - W/"datetime'2019-07-03T00%3A25%3A30.5601953Z'" + - W/"datetime'2019-09-27T12%3A11%3A43.6832131Z'" expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/12d271e6-271f-4d6d-b658-88dc42e1f0a6?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/236c2be3-a0d7-47c0-9025-05b7a8222a7a?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/12d271e6-271f-4d6d-b658-88dc42e1f0a6","name":"12d271e6-271f-4d6d-b658-88dc42e1f0a6","status":"Succeeded","startTime":"2019-07-03T00:25:30.4170417Z","endTime":"2019-07-03T00:25:30.6982895Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/236c2be3-a0d7-47c0-9025-05b7a8222a7a","name":"236c2be3-a0d7-47c0-9025-05b7a8222a7a","status":"Succeeded","startTime":"2019-09-27T12:11:43.5850929Z","endTime":"2019-09-27T12:11:43.7312761Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:26:08 GMT + - Fri, 27 Sep 2019 12:12:14 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T00%3A25%3A30.6852839Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A11%3A43.7362511Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:26:13 GMT + - Fri, 27 Sep 2019 12:12:15 GMT etag: - - W/"datetime'2019-07-03T00%3A25%3A30.6852839Z'" + - W/"datetime'2019-09-27T12%3A11%3A43.7362511Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T00%3A26%3A18.818293Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A12%3A17.5226144Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf52124d-9d33-43d0-bb79-76e73560a9ab?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3f39648a-fa93-4f92-93f6-23d36186b1dd?api-version=2019-07-01 cache-control: - no-cache content-length: - - '470' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:26:19 GMT + - Fri, 27 Sep 2019 12:12:18 GMT etag: - - W/"datetime'2019-07-03T00%3A26%3A18.818293Z'" + - W/"datetime'2019-09-27T12%3A12%3A17.5226144Z'" expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf52124d-9d33-43d0-bb79-76e73560a9ab?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3f39648a-fa93-4f92-93f6-23d36186b1dd?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf52124d-9d33-43d0-bb79-76e73560a9ab","name":"bf52124d-9d33-43d0-bb79-76e73560a9ab","status":"Succeeded","startTime":"2019-07-03T00:26:18.6672256Z","endTime":"2019-07-03T00:26:19.2609399Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3f39648a-fa93-4f92-93f6-23d36186b1dd","name":"3f39648a-fa93-4f92-93f6-23d36186b1dd","status":"Succeeded","startTime":"2019-09-27T12:12:17.4647592Z","endTime":"2019-09-27T12:12:17.8710044Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:26:57 GMT + - Fri, 27 Sep 2019 12:12:49 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T00%3A26%3A19.2516011Z''\"","location":"westcentralus","properties":{"poolId":"f2670dcc-8178-c99f-3026-5fc8a0593eb9","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A12%3A17.8738667Z''\"","location":"westcentralus","properties":{"poolId":"f0fd3916-8232-6d53-114d-579121d4c9a0","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:27:01 GMT + - Fri, 27 Sep 2019 12:12:49 GMT etag: - - W/"datetime'2019-07-03T00%3A26%3A19.2516011Z'" + - W/"datetime'2019-09-27T12%3A12%3A17.8738667Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A27%3A19.407379Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A13%3A02.1287646Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 cache-control: - no-cache content-length: - - '757' + - '746' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:27:19 GMT + - Fri, 27 Sep 2019 12:13:02 GMT etag: - - W/"datetime'2019-07-03T00%3A27%3A19.407379Z'" + - W/"datetime'2019-09-27T12%3A13%3A02.1287646Z'" expires: - '-1' pragma: @@ -370,7 +369,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +385,73 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6","name":"7abfa424-0569-4deb-8345-60e779f18fd6","status":"Creating","startTime":"2019-09-27T12:13:02.0535291Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 27 Sep 2019 12:13:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb","name":"95e6af98-8c5a-49e0-b2cd-578cf584e2bb","status":"Creating","startTime":"2019-07-03T00:27:19.2791738Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6","name":"7abfa424-0569-4deb-8345-60e779f18fd6","status":"Creating","startTime":"2019-09-27T12:13:02.0535291Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:27:54 GMT + - Fri, 27 Sep 2019 12:14:04 GMT expires: - '-1' pragma: @@ -435,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb","name":"95e6af98-8c5a-49e0-b2cd-578cf584e2bb","status":"Creating","startTime":"2019-07-03T00:27:19.2791738Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6","name":"7abfa424-0569-4deb-8345-60e779f18fd6","status":"Creating","startTime":"2019-09-27T12:13:02.0535291Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:28:29 GMT + - Fri, 27 Sep 2019 12:14:34 GMT expires: - '-1' pragma: @@ -484,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb","name":"95e6af98-8c5a-49e0-b2cd-578cf584e2bb","status":"Creating","startTime":"2019-07-03T00:27:19.2791738Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6","name":"7abfa424-0569-4deb-8345-60e779f18fd6","status":"Creating","startTime":"2019-09-27T12:13:02.0535291Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:29:04 GMT + - Fri, 27 Sep 2019 12:15:05 GMT expires: - '-1' pragma: @@ -533,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb","name":"95e6af98-8c5a-49e0-b2cd-578cf584e2bb","status":"Creating","startTime":"2019-07-03T00:27:19.2791738Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6","name":"7abfa424-0569-4deb-8345-60e779f18fd6","status":"Creating","startTime":"2019-09-27T12:13:02.0535291Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:29:40 GMT + - Fri, 27 Sep 2019 12:15:36 GMT expires: - '-1' pragma: @@ -582,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/95e6af98-8c5a-49e0-b2cd-578cf584e2bb","name":"95e6af98-8c5a-49e0-b2cd-578cf584e2bb","status":"Succeeded","startTime":"2019-07-03T00:27:19.2791738Z","endTime":"2019-07-03T00:30:11.0120263Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7abfa424-0569-4deb-8345-60e779f18fd6","name":"7abfa424-0569-4deb-8345-60e779f18fd6","status":"Succeeded","startTime":"2019-09-27T12:13:02.0535291Z","endTime":"2019-09-27T12:15:44.8902005Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:30:14 GMT + - Fri, 27 Sep 2019 12:16:06 GMT expires: - '-1' pragma: @@ -631,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A30%3A11.0064045Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"e1d834ad-f949-7fa3-2290-fe99b51251b8","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_7a044dad","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e9102713-8f39-0b84-998c-d8dd4b00f087","fileSystemId":"e1d834ad-f949-7fa3-2290-fe99b51251b8","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A15%3A44.8963748Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"25b021d1-a06f-8362-274a-db8709e59e58","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_b877f01e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"6f287f2c-b4d2-d739-f4d3-28f4ad946232","fileSystemId":"25b021d1-a06f-8362-274a-db8709e59e58","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1430' + - '1406' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:30:17 GMT + - Fri, 27 Sep 2019 12:16:07 GMT etag: - - W/"datetime'2019-07-03T00%3A30%3A11.0064045Z'" + - W/"datetime'2019-09-27T12%3A15%3A44.8963748Z'" expires: - '-1' pragma: @@ -673,8 +721,7 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "serviceLevel": - "Standard"}}' + body: '{"properties": {"serviceLevel": "Premium", "usageThreshold": 214748364800}}' headers: Accept: - application/json @@ -683,32 +730,32 @@ interactions: Connection: - keep-alive Content-Length: - - '76' + - '75' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A30%3A25.4997109Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"e1d834ad-f949-7fa3-2290-fe99b51251b8","name":"sdk-py-tests-vol-1","serviceLevel":"Standard","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_7a044dad","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e9102713-8f39-0b84-998c-d8dd4b00f087","fileSystemId":"e1d834ad-f949-7fa3-2290-fe99b51251b8","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A16%3A09.6983124Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"25b021d1-a06f-8362-274a-db8709e59e58","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":214748364800,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_b877f01e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"6f287f2c-b4d2-d739-f4d3-28f4ad946232","fileSystemId":"25b021d1-a06f-8362-274a-db8709e59e58","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1431' + - '1406' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:30:28 GMT + - Fri, 27 Sep 2019 12:16:12 GMT etag: - - W/"datetime'2019-07-03T00%3A30%3A25.4997109Z'" + - W/"datetime'2019-09-27T12%3A16%3A09.6983124Z'" expires: - '-1' pragma: @@ -726,7 +773,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET status: @@ -744,30 +791,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9ef95db-010a-4401-b153-cb544df40d4a?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:30:34 GMT + - Fri, 27 Sep 2019 12:16:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9ef95db-010a-4401-b153-cb544df40d4a?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -795,24 +842,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9ef95db-010a-4401-b153-cb544df40d4a?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9ef95db-010a-4401-b153-cb544df40d4a","name":"d9ef95db-010a-4401-b153-cb544df40d4a","status":"Deleting","startTime":"2019-07-03T00:30:34.8245704Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98","name":"46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98","status":"Deleting","startTime":"2019-09-27T12:16:14.3156051Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:31:09 GMT + - Fri, 27 Sep 2019 12:16:45 GMT expires: - '-1' pragma: @@ -844,24 +891,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9ef95db-010a-4401-b153-cb544df40d4a?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d9ef95db-010a-4401-b153-cb544df40d4a","name":"d9ef95db-010a-4401-b153-cb544df40d4a","status":"Succeeded","startTime":"2019-07-03T00:30:34.8245704Z","endTime":"2019-07-03T00:31:28.647297Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98","name":"46f2b65e-32a2-4ec6-9f01-73c2e2fd7c98","status":"Succeeded","startTime":"2019-09-27T12:16:14.3156051Z","endTime":"2019-09-27T12:17:09.8957708Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '581' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:31:44 GMT + - Fri, 27 Sep 2019 12:17:15 GMT expires: - '-1' pragma: @@ -893,26 +940,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:35:09 GMT + - Fri, 27 Sep 2019 12:20:36 GMT expires: - '-1' pragma: @@ -938,30 +984,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8223ee85-1ad5-4b6c-ad1a-c62177d1e6a5?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8665cbe-bdec-4f54-ba79-3eb401dbd645?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:35:14 GMT + - Fri, 27 Sep 2019 12:20:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8223ee85-1ad5-4b6c-ad1a-c62177d1e6a5?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8665cbe-bdec-4f54-ba79-3eb401dbd645?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -973,7 +1019,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-powered-by: - ASP.NET status: @@ -989,24 +1035,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8223ee85-1ad5-4b6c-ad1a-c62177d1e6a5?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8665cbe-bdec-4f54-ba79-3eb401dbd645?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8223ee85-1ad5-4b6c-ad1a-c62177d1e6a5","name":"8223ee85-1ad5-4b6c-ad1a-c62177d1e6a5","status":"Succeeded","startTime":"2019-07-03T00:35:14.8701746Z","endTime":"2019-07-03T00:35:15.1514277Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/a8665cbe-bdec-4f54-ba79-3eb401dbd645","name":"a8665cbe-bdec-4f54-ba79-3eb401dbd645","status":"Succeeded","startTime":"2019-09-27T12:20:38.4041741Z","endTime":"2019-09-27T12:20:38.6228855Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:35:49 GMT + - Fri, 27 Sep 2019 12:21:09 GMT expires: - '-1' pragma: @@ -1038,26 +1084,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:36:03 GMT + - Fri, 27 Sep 2019 12:21:19 GMT expires: - '-1' pragma: @@ -1083,30 +1128,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3609e4df-ee0f-4d9e-8faf-e7719e8f3ede?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b93e511-9f40-47e1-b260-8462f1060588?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:36:09 GMT + - Fri, 27 Sep 2019 12:21:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3609e4df-ee0f-4d9e-8faf-e7719e8f3ede?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b93e511-9f40-47e1-b260-8462f1060588?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1118,7 +1163,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' x-powered-by: - ASP.NET status: @@ -1134,24 +1179,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3609e4df-ee0f-4d9e-8faf-e7719e8f3ede?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b93e511-9f40-47e1-b260-8462f1060588?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3609e4df-ee0f-4d9e-8faf-e7719e8f3ede","name":"3609e4df-ee0f-4d9e-8faf-e7719e8f3ede","status":"Succeeded","startTime":"2019-07-03T00:36:09.8721027Z","endTime":"2019-07-03T00:36:10.0439718Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3b93e511-9f40-47e1-b260-8462f1060588","name":"3b93e511-9f40-47e1-b260-8462f1060588","status":"Succeeded","startTime":"2019-09-27T12:21:20.6633115Z","endTime":"2019-09-27T12:21:20.726464Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '516' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:36:45 GMT + - Fri, 27 Sep 2019 12:21:51 GMT expires: - '-1' pragma: @@ -1183,26 +1228,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:36:50 GMT + - Fri, 27 Sep 2019 12:21:54 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml index f8e5f5403a02..dd1a001726ac 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westcentralus"}' + body: '{"location": "westcentralus"}' headers: Accept: - application/json @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T00%3A37%3A05.9625922Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A21%3A58.5552147Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f220e804-fb87-4aa1-b26e-b6393165da8d?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/185c9a48-869c-4b8b-8484-0f454ab31161?api-version=2019-07-01 cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:37:06 GMT + - Fri, 27 Sep 2019 12:21:58 GMT etag: - - W/"datetime'2019-07-03T00%3A37%3A05.9625922Z'" + - W/"datetime'2019-09-27T12%3A21%3A58.5552147Z'" expires: - '-1' pragma: @@ -66,24 +66,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f220e804-fb87-4aa1-b26e-b6393165da8d?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/185c9a48-869c-4b8b-8484-0f454ab31161?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f220e804-fb87-4aa1-b26e-b6393165da8d","name":"f220e804-fb87-4aa1-b26e-b6393165da8d","status":"Succeeded","startTime":"2019-07-03T00:37:05.8297788Z","endTime":"2019-07-03T00:37:06.1110334Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/185c9a48-869c-4b8b-8484-0f454ab31161","name":"185c9a48-869c-4b8b-8484-0f454ab31161","status":"Succeeded","startTime":"2019-09-27T12:21:58.5050496Z","endTime":"2019-09-27T12:21:58.6144265Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '521' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:37:43 GMT + - Fri, 27 Sep 2019 12:22:29 GMT expires: - '-1' pragma: @@ -115,26 +115,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-07-03T00%3A37%3A06.0976871Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","name":"sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-09-27T12%3A21%3A58.6142575Z''\"","location":"westcentralus","properties":{"name":"sdk-py-tests-acc-1","provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '386' + - '382' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:37:43 GMT + - Fri, 27 Sep 2019 12:22:29 GMT etag: - - W/"datetime'2019-07-03T00%3A37%3A06.0976871Z'" + - W/"datetime'2019-09-27T12%3A21%3A58.6142575Z'" expires: - '-1' pragma: @@ -157,8 +157,8 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"location": "westcentralus", "properties": {"serviceLevel": - "Premium", "size": 4398046511104}}' + body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium"}}' headers: Accept: - application/json @@ -171,32 +171,32 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US location: - westcentralus method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T00%3A37%3A46.9895694Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A22%3A31.9291977Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c33390df-fcfb-40d7-a837-83ae352d122e?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bfdfaa64-5d46-4ff1-99e1-32d61da1c5b9?api-version=2019-07-01 cache-control: - no-cache content-length: - - '471' + - '467' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:37:47 GMT + - Fri, 27 Sep 2019 12:22:32 GMT etag: - - W/"datetime'2019-07-03T00%3A37%3A46.9895694Z'" + - W/"datetime'2019-09-27T12%3A22%3A31.9291977Z'" expires: - '-1' pragma: @@ -226,24 +226,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c33390df-fcfb-40d7-a837-83ae352d122e?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bfdfaa64-5d46-4ff1-99e1-32d61da1c5b9?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/c33390df-fcfb-40d7-a837-83ae352d122e","name":"c33390df-fcfb-40d7-a837-83ae352d122e","status":"Succeeded","startTime":"2019-07-03T00:37:46.8444156Z","endTime":"2019-07-03T00:37:47.3912972Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bfdfaa64-5d46-4ff1-99e1-32d61da1c5b9","name":"bfdfaa64-5d46-4ff1-99e1-32d61da1c5b9","status":"Succeeded","startTime":"2019-09-27T12:22:31.8562881Z","endTime":"2019-09-27T12:22:32.246939Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '550' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:38:17 GMT + - Fri, 27 Sep 2019 12:23:03 GMT expires: - '-1' pragma: @@ -275,26 +275,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-07-03T00%3A37%3A47.3828463Z''\"","location":"westcentralus","properties":{"poolId":"b757626e-a06a-5427-923b-4bce5e6eaee1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-09-27T12%3A22%3A32.2494302Z''\"","location":"westcentralus","properties":{"poolId":"7ed6e81b-f660-5a37-9f12-b04d0d39fe9b","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '568' + - '564' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:38:19 GMT + - Fri, 27 Sep 2019 12:23:03 GMT etag: - - W/"datetime'2019-07-03T00%3A37%3A47.3828463Z'" + - W/"datetime'2019-09-27T12%3A22%3A32.2494302Z'" expires: - '-1' pragma: @@ -317,10 +317,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Premium", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -329,34 +328,34 @@ interactions: Connection: - keep-alive Content-Length: - - '332' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A38%3A34.0557057Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A23%3A16.3492476Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","provisioningState":"Creating"}}' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 cache-control: - no-cache content-length: - - '758' + - '746' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:38:34 GMT + - Fri, 27 Sep 2019 12:23:17 GMT etag: - - W/"datetime'2019-07-03T00%3A38%3A34.0557057Z'" + - W/"datetime'2019-09-27T12%3A23%3A16.3492476Z'" expires: - '-1' pragma: @@ -370,7 +369,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -386,24 +385,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0","name":"f9e36179-7168-4d47-81d4-c2c4e1076fc0","status":"Creating","startTime":"2019-07-03T00:38:33.9364817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","name":"eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","status":"Creating","startTime":"2019-09-27T12:23:16.2731027Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:39:04 GMT + - Fri, 27 Sep 2019 12:23:47 GMT expires: - '-1' pragma: @@ -435,24 +434,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0","name":"f9e36179-7168-4d47-81d4-c2c4e1076fc0","status":"Creating","startTime":"2019-07-03T00:38:33.9364817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","name":"eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","status":"Creating","startTime":"2019-09-27T12:23:16.2731027Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:39:36 GMT + - Fri, 27 Sep 2019 12:24:18 GMT expires: - '-1' pragma: @@ -484,24 +483,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0","name":"f9e36179-7168-4d47-81d4-c2c4e1076fc0","status":"Creating","startTime":"2019-07-03T00:38:33.9364817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","name":"eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","status":"Creating","startTime":"2019-09-27T12:23:16.2731027Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:40:10 GMT + - Fri, 27 Sep 2019 12:24:48 GMT expires: - '-1' pragma: @@ -533,24 +532,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0","name":"f9e36179-7168-4d47-81d4-c2c4e1076fc0","status":"Creating","startTime":"2019-07-03T00:38:33.9364817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","name":"eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","status":"Creating","startTime":"2019-09-27T12:23:16.2731027Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:40:44 GMT + - Fri, 27 Sep 2019 12:25:18 GMT expires: - '-1' pragma: @@ -582,24 +581,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0","name":"f9e36179-7168-4d47-81d4-c2c4e1076fc0","status":"Creating","startTime":"2019-07-03T00:38:33.9364817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","name":"eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","status":"Creating","startTime":"2019-09-27T12:23:16.2731027Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:41:16 GMT + - Fri, 27 Sep 2019 12:25:49 GMT expires: - '-1' pragma: @@ -631,24 +630,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f9e36179-7168-4d47-81d4-c2c4e1076fc0","name":"f9e36179-7168-4d47-81d4-c2c4e1076fc0","status":"Succeeded","startTime":"2019-07-03T00:38:33.9364817Z","endTime":"2019-07-03T00:41:24.7139329Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","name":"eed76d0e-bf7b-42ba-9ab9-42cabb7a0fd3","status":"Succeeded","startTime":"2019-09-27T12:23:16.2731027Z","endTime":"2019-09-27T12:26:03.0341554Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:41:47 GMT + - Fri, 27 Sep 2019 12:26:20 GMT expires: - '-1' pragma: @@ -680,26 +679,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A41%3A24.695232Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"984645fe-4746-cb10-15f9-b80d9939294d","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_16d121e0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cb24b811-0fbb-480f-c6bc-0f24679b8dcb","fileSystemId":"984645fe-4746-cb10-15f9-b80d9939294d","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A26%3A03.0298209Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"498571cb-7d6a-5299-5d96-dd21292da011","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_e859c6fa","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"6bb0afb5-5c78-c2ef-fa54-273bfc74054e","fileSystemId":"498571cb-7d6a-5299-5d96-dd21292da011","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1429' + - '1406' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:41:48 GMT + - Fri, 27 Sep 2019 12:26:20 GMT etag: - - W/"datetime'2019-07-03T00%3A41%3A24.695232Z'" + - W/"datetime'2019-09-27T12%3A26%3A03.0298209Z'" expires: - '-1' pragma: @@ -722,10 +721,9 @@ interactions: code: 200 message: OK - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default", - "serviceLevel": "Standard", "creationToken": "sdk-py-tests-vol-1"}, "location": - "westcentralus"}' + body: 'b''b\''b\\\''b\\\\\\\''{"location": "westcentralus", "properties": {"creationToken": + "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 214748364800, + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default"}}\\\\\\\''\\\''\''''' headers: Accept: - application/json @@ -734,32 +732,34 @@ interactions: Connection: - keep-alive Content-Length: - - '333' + - '324' Content-Type: - application/json; charset=utf-8 User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-07-03T00%3A41%3A51.1309084Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"984645fe-4746-cb10-15f9-b80d9939294d","name":"sdk-py-tests-vol-1","serviceLevel":"Standard","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_220be37a7ff14b84ba2fc1aed33a19b9_16d121e0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.Network/virtualNetworks/sdk-net-tests-rg-wus-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cb24b811-0fbb-480f-c6bc-0f24679b8dcb","fileSystemId":"984645fe-4746-cb10-15f9-b80d9939294d","startIp":"10.1.18.4","endIp":"10.1.18.4","gateway":"10.1.18.1","netmask":"255.255.255.240","ipAddress":"10.1.18.4"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A26%3A23.0633145Z''\"","location":"westcentralus","properties":{"provisioningState":"Updating","fileSystemId":"498571cb-7d6a-5299-5d96-dd21292da011","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_e859c6fa","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"6bb0afb5-5c78-c2ef-fa54-273bfc74054e","fileSystemId":"498571cb-7d6a-5299-5d96-dd21292da011","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}]}}' headers: access-control-expose-headers: - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/56490e73-6d71-4827-ae2e-0a2b327ee337?api-version=2019-07-01 cache-control: - no-cache content-length: - - '1417' + - '1405' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:41:54 GMT + - Fri, 27 Sep 2019 12:26:22 GMT etag: - - W/"datetime'2019-07-03T00%3A41%3A51.1309084Z'" + - W/"datetime'2019-09-27T12%3A26%3A23.0633145Z'" expires: - '-1' pragma: @@ -777,7 +777,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -792,33 +792,27 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/56490e73-6d71-4827-ae2e-0a2b327ee337?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/56490e73-6d71-4827-ae2e-0a2b327ee337","name":"56490e73-6d71-4827-ae2e-0a2b327ee337","status":"Succeeded","startTime":"2019-09-27T12:26:23.02016Z","endTime":"2019-09-27T12:26:26.7545448Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236?api-version=2019-06-01 cache-control: - no-cache content-length: - - '0' + - '576' + content-type: + - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:41:56 GMT + - Fri, 27 Sep 2019 12:26:53 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236?api-version=2019-06-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -827,15 +821,17 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -846,24 +842,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236","name":"9886de85-e4a2-4fe4-81e4-c34abbcfe236","status":"Deleting","startTime":"2019-07-03T00:41:57.0678976Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-09-27T12%3A26%3A26.7519842Z''\"","location":"westcentralus","properties":{"fileSystemId":"498571cb-7d6a-5299-5d96-dd21292da011","name":"sdk-py-tests-vol-1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":214748364800,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_af4380c9b53911e9a537ce0a5a5e91ed_e859c6fa","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.Network/virtualNetworks/sdk-py-tests-cys-vnet/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"6bb0afb5-5c78-c2ef-fa54-273bfc74054e","fileSystemId":"498571cb-7d6a-5299-5d96-dd21292da011","startIp":"10.1.3.4","endIp":"10.1.3.4","gateway":"","netmask":"","ipAddress":"10.1.3.4"}],"provisioningState":"Succeeded"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '1392' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:42:31 GMT + - Fri, 27 Sep 2019 12:26:53 GMT + etag: + - W/"datetime'2019-09-27T12%3A26%3A26.7519842Z'" expires: - '-1' pragma: @@ -885,6 +883,59 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 + response: + body: + string: '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cc7c96c4-5edf-4e82-a6cc-19bcceac30e3?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 27 Sep 2019 12:26:54 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cc7c96c4-5edf-4e82-a6cc-19bcceac30e3?api-version=2019-07-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted - request: body: null headers: @@ -895,24 +946,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cc7c96c4-5edf-4e82-a6cc-19bcceac30e3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236","name":"9886de85-e4a2-4fe4-81e4-c34abbcfe236","status":"Deleting","startTime":"2019-07-03T00:41:57.0678976Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cc7c96c4-5edf-4e82-a6cc-19bcceac30e3","name":"cc7c96c4-5edf-4e82-a6cc-19bcceac30e3","status":"Deleting","startTime":"2019-09-27T12:26:54.9383175Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '571' + - '567' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:43:02 GMT + - Fri, 27 Sep 2019 12:27:25 GMT expires: - '-1' pragma: @@ -944,24 +995,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cc7c96c4-5edf-4e82-a6cc-19bcceac30e3?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9886de85-e4a2-4fe4-81e4-c34abbcfe236","name":"9886de85-e4a2-4fe4-81e4-c34abbcfe236","status":"Succeeded","startTime":"2019-07-03T00:41:57.0678976Z","endTime":"2019-07-03T00:43:10.3897897Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cc7c96c4-5edf-4e82-a6cc-19bcceac30e3","name":"cc7c96c4-5edf-4e82-a6cc-19bcceac30e3","status":"Succeeded","startTime":"2019-09-27T12:26:54.9383175Z","endTime":"2019-09-27T12:27:56.7341079Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:43:34 GMT + - Fri, 27 Sep 2019 12:27:56 GMT expires: - '-1' pragma: @@ -993,26 +1044,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '235' + - '231' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:46:54 GMT + - Fri, 27 Sep 2019 12:31:17 GMT expires: - '-1' pragma: @@ -1038,30 +1088,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f2013d67-09da-408e-a46d-a39c5d7511a9?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f307b0b9-1e36-4fee-9f29-6ff55715c565?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:46:57 GMT + - Fri, 27 Sep 2019 12:31:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f2013d67-09da-408e-a46d-a39c5d7511a9?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f307b0b9-1e36-4fee-9f29-6ff55715c565?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1073,7 +1123,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' x-powered-by: - ASP.NET status: @@ -1089,24 +1139,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f2013d67-09da-408e-a46d-a39c5d7511a9?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f307b0b9-1e36-4fee-9f29-6ff55715c565?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f2013d67-09da-408e-a46d-a39c5d7511a9","name":"f2013d67-09da-408e-a46d-a39c5d7511a9","status":"Succeeded","startTime":"2019-07-03T00:46:57.1854361Z","endTime":"2019-07-03T00:46:57.5604369Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f307b0b9-1e36-4fee-9f29-6ff55715c565","name":"f307b0b9-1e36-4fee-9f29-6ff55715c565","status":"Succeeded","startTime":"2019-09-27T12:31:21.2271186Z","endTime":"2019-09-27T12:31:21.4772081Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '555' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:47:28 GMT + - Fri, 27 Sep 2019 12:31:51 GMT expires: - '-1' pragma: @@ -1138,26 +1188,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '208' + - '204' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:47:39 GMT + - Fri, 27 Sep 2019 12:32:02 GMT expires: - '-1' pragma: @@ -1183,30 +1232,30 @@ interactions: Content-Length: - '0' User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '' + string: '' headers: access-control-expose-headers: - Request-Context azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ddc68124-9f67-44c2-b5b0-5a768120918b?api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c7d8f47-e3b5-4000-9565-d55ba802b12e?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jul 2019 00:47:40 GMT + - Fri, 27 Sep 2019 12:32:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ddc68124-9f67-44c2-b5b0-5a768120918b?api-version=2019-06-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c7d8f47-e3b5-4000-9565-d55ba802b12e?api-version=2019-07-01&operationResultResponseType=Location pragma: - no-cache request-context: @@ -1234,24 +1283,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ddc68124-9f67-44c2-b5b0-5a768120918b?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c7d8f47-e3b5-4000-9565-d55ba802b12e?api-version=2019-07-01 response: body: - string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ddc68124-9f67-44c2-b5b0-5a768120918b","name":"ddc68124-9f67-44c2-b5b0-5a768120918b","status":"Succeeded","startTime":"2019-07-03T00:47:41.295191Z","endTime":"2019-07-03T00:47:41.451434Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/9c7d8f47-e3b5-4000-9565-d55ba802b12e","name":"9c7d8f47-e3b5-4000-9565-d55ba802b12e","status":"Succeeded","startTime":"2019-09-27T12:32:02.7826271Z","endTime":"2019-09-27T12:32:02.8607334Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '519' + - '517' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:48:15 GMT + - Fri, 27 Sep 2019 12:32:33 GMT expires: - '-1' pragma: @@ -1283,26 +1332,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/2.7.10 (Darwin-17.7.0-x86_64-i386-64bit) msrest/0.6.8 msrest_azure/0.4.34 - azure-mgmt-netapp/1.0.0 Azure-SDK-For-Python + - python/3.6.4 (Darwin-18.7.0-x86_64-i386-64bit) msrest/0.6.10 msrest_azure/0.4.34 + azure-mgmt-netapp/0.5.0 Azure-SDK-For-Python accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-tests-rg-wus/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-py-tests-cys/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2019-07-01 response: body: - string: !!python/unicode '{"error":{"code":"ResourceNotFound","message":"The - Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' under resource - group ''sdk-net-tests-rg-wus'' was not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-py-tests-cys'' was not found."}}' headers: cache-control: - no-cache content-length: - - '174' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jul 2019 00:48:21 GMT + - Fri, 27 Sep 2019 12:32:36 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/setup.py b/sdk/netapp/azure-mgmt-netapp/tests/setup.py index c2c9c0916269..505adfdcec2e 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/setup.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/setup.py @@ -4,7 +4,7 @@ # - rg must exist # - vnet must exist -TEST_RG='sdk-net-tests-rg-wus' +TEST_RG='sdk-py-tests-cys' #'sdk-wus2-rg-qat2' TEST_ACC_1='sdk-py-tests-acc-1' TEST_ACC_2='sdk-py-tests-acc-2' TEST_POOL_1='sdk-py-tests-pool-1' @@ -15,8 +15,8 @@ TEST_SNAPSHOT_2='sdk-py-tests-snapshot-2' DEFAULT_SIZE=4398046511104 GIGABYTE=1024 * 1024 * 1024 -SUBSID='0661b131-4a11-479b-96bf-2f95acca2f73' +SUBSID='8f38cfec-0ecd-413a-892e-2494f77a3b56' #'69a75bda-882e-44d5-8431-63421204132a' SERVICE_LEVEL='Premium' LOCATION='westcentralus' -VNET='sdk-net-tests-rg-wus-vnet' +VNET='sdk-py-tests-cys-vnet' #'api-test-vnet-westus2stage' SERVICE_LEVEL='Premium' diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py b/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py index 2fbbafd37415..10aa475a356e 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py @@ -39,7 +39,19 @@ def wait_for_no_pool(client, rg, acc_name, pool_name, live=False): break def delete_pool(client, rg, acc_name, pool_name, live=False): - client.pools.delete(rg, acc_name, pool_name).wait() + # nest resources seem to hang around for a little while even + # when apparently deleted, therefore give it a chance + co=0 + while co<5: + co += 1 + if live: + time.sleep(10) + try: + client.pools.delete(rg, acc_name, pool_name).wait() + except: + # Want to catch specifically "Can not delete resource before nested resources are deleted." + # but should be safe to generalise + break wait_for_no_pool(client, rg, acc_name, pool_name, live) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py b/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py index 593ea69edf85..5c4e400118d9 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py @@ -32,7 +32,7 @@ def delete_snapshot(client, rg, account_name, pool_name, volume_name, snapshot_n # wait to be sure it has gone - a workaround for the async nature of certain ARM processes co=0 - while co<5: + while co<10: co += 1 if live: time.sleep(20) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py b/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py index 090d457eaccb..b39f560c7ecb 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py @@ -92,6 +92,11 @@ def test_create_delete_list_volume(self): live=self.is_live ) self.assertEqual(volume.name, TEST_ACC_1 + '/' + TEST_POOL_1 + '/' + TEST_VOL_1) + # check default export policy and protocol + self.assertTrue(volume.export_policy.rules[0].nfsv3), + self.assertFalse(volume.export_policy.rules[0].nfsv41) + self.assertEqual("0.0.0.0/0", volume.export_policy.rules[0].allowed_clients) + self.assertEqual(volume.protocol_types[0], "NFSv3") volume_list = self.client.volumes.list(TEST_RG, TEST_ACC_1, TEST_POOL_1) self.assertEqual(len(list(volume_list)), 1) @@ -135,13 +140,13 @@ def test_get_volume_by_name(self): def test_update_volume(self): volume = create_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - self.assertEqual(volume.service_level, "Premium") - self.assertEqual(volume.usage_threshold, 100 * GIGABYTE) + self.assertEqual("Premium", volume.service_level) + self.assertEqual(100 * GIGABYTE, volume.usage_threshold) volume_body = Volume( - usage_threshold = 100 * GIGABYTE, + usage_threshold = 200 * GIGABYTE, creation_token=TEST_VOL_1, - service_level="Standard", + service_level="Premium", # cannot differ from pool location=LOCATION, subnet_id = "/subscriptions/" + SUBSID + "/resourceGroups/" + TEST_RG + "/providers/Microsoft.Network/virtualNetworks/" + VNET + "/subnets/default" ) @@ -153,7 +158,8 @@ def test_update_volume(self): TEST_POOL_1, TEST_VOL_1 ).result() - self.assertEqual(volume.service_level, "Standard") + self.assertEqual("Premium", volume.service_level); # unchanged + self.assertEqual(200 * GIGABYTE, volume.usage_threshold) delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) @@ -162,10 +168,12 @@ def test_update_volume(self): def test_patch_volume(self): volume = create_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) self.assertEqual("Premium", volume.service_level); + self.assertEqual(100 * GIGABYTE, volume.usage_threshold); - volume_patch = VolumePatch(service_level = "Standard") + volume_patch = VolumePatch(usage_threshold = 200 * GIGABYTE) volume = self.client.volumes.update(volume_patch, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1) - self.assertEqual("Standard", volume.service_level); + self.assertEqual("Premium", volume.service_level); # unchanged + self.assertEqual(200 * GIGABYTE, volume.usage_threshold); self.client.volumes.delete(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1).wait() wait_for_no_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) From 9f8bd5cebe488560adc21d2b60d45759516bc4c8 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Sat, 5 Oct 2019 13:37:00 -0700 Subject: [PATCH 09/19] extending pypy timeout. (#7640) --- eng/pipelines/templates/jobs/archetype-sdk-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/archetype-sdk-nightly.yml b/eng/pipelines/templates/jobs/archetype-sdk-nightly.yml index 17f0a2a3b019..31d372418268 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-nightly.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-nightly.yml @@ -39,7 +39,7 @@ jobs: dependsOn: - 'Build' - timeoutInMinutes: 270 + timeoutInMinutes: 300 strategy: matrix: From b2fa03650c770733100eaac5260f4d907998ed3b Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Sat, 5 Oct 2019 16:41:43 -0700 Subject: [PATCH 10/19] Eventhubs preview4 merge to master (#7605) * [EventHubs] Eventhubs runtime metric (#7431) * runtime metric init commit * evenhubts-runtime-metric implementation * Update code, and test and docstring * Add example code * Update property name * Update name to last enqueued event properties * Eventhubs remove iot and linkredirect (#7450) * Remove iothub/link-redirect related code * Remove self._running from consumer and producer * Remove IoT related params "operation" and "device" * Remove exception from close() * add iterator long running test * small bug fix * small bug fix * Fix connection properties bug and format * Changed product to azure-eventhub in user agent * Fix a type hint * Improve stress script * Print to console configurable * small changes * Disable tracking last enqueued event properties for uamqp 1.2.2 * use different consumer group * fix an issue about consumer group * fix an issue about consumer group * Fix a get_properties bug * [EventHubs] Performance improvement (#7533) * performance improvement * batch offset * Review feedback * Remove lazy parse in EventData * Add annotation assertions * Small fix for missing annotation initialization (#7575) * Python EventHubs test code revamp (#7594) * fix pylint error * fix mypy error * fix for 2.7 * fix for 2.7 * Sleep 300 seconds to test reconnect * Remove Pypy from eventhub live test * Remove Pypy from eventhub live test * Add "Matrix:" * Fix bug passing timeout in seconds to uamqp * update checkpointstore HISTORY * [EventHubs] Update documentations (#7603) * Update docs * Update iothub related description * Docs update * Small fix * Small fix * revert setup.py --- .../HISTORY.md | 4 + sdk/eventhub/azure-eventhubs/HISTORY.md | 16 +- sdk/eventhub/azure-eventhubs/README.md | 21 +- .../eventhub/_consumer_producer_mixin.py | 53 +--- .../aio/_consumer_producer_mixin_async.py | 52 +--- .../azure/eventhub/aio/client_async.py | 66 ++--- .../azure/eventhub/aio/consumer_async.py | 115 ++++---- .../azure/eventhub/aio/error_async.py | 5 - .../aio/eventprocessor/event_processor.py | 4 +- .../azure/eventhub/aio/producer_async.py | 37 +-- .../azure-eventhubs/azure/eventhub/client.py | 56 ++-- .../azure/eventhub/client_abstract.py | 98 ++----- .../azure-eventhubs/azure/eventhub/common.py | 85 +++--- .../azure/eventhub/consumer.py | 101 ++++--- .../azure-eventhubs/azure/eventhub/error.py | 5 - .../azure/eventhub/producer.py | 39 +-- sdk/eventhub/azure-eventhubs/conftest.py | 22 +- ...cv_track_last_enqueued_event_info_async.py | 48 ++++ .../azure-eventhubs/examples/iothub_recv.py | 23 -- .../azure-eventhubs/examples/iothub_send.py | 20 -- .../recv_track_last_enqueued_event_info.py | 45 +++ .../examples/test_examples_eventhub.py | 10 - sdk/eventhub/azure-eventhubs/setup.py | 2 +- .../stress/azure_eventhub_stress.py | 266 ++++++++++++++++++ .../asynctests/test_iothub_receive_async.py | 85 ------ .../test_long_running_eventprocessor.py | 156 ---------- .../test_longrunning_receive_async.py | 131 --------- .../asynctests/test_longrunning_send_async.py | 125 -------- .../test_eventprocessor.py | 0 .../asynctests/test_auth_async.py | 0 .../asynctests/test_negative_async.py | 13 - .../asynctests/test_properties_async.py | 0 .../asynctests/test_receive_async.py | 41 +++ .../test_receiver_iterator_async.py | 0 .../asynctests/test_reconnect_async.py | 44 --- .../asynctests/test_send_async.py | 9 + .../{ => livetest/synctests}/test_auth.py | 0 .../{ => livetest/synctests}/test_negative.py | 19 +- .../synctests}/test_properties.py | 0 .../{ => livetest/synctests}/test_receive.py | 40 +++ .../synctests}/test_receiver_iterator.py | 0 .../synctests}/test_reconnect.py | 31 -- .../{ => livetest/synctests}/test_send.py | 11 +- .../tests/test_iothub_receive.py | 64 ----- .../azure-eventhubs/tests/test_iothub_send.py | 24 -- .../tests/test_longrunning_receive.py | 131 --------- .../tests/test_longrunning_send.py | 118 -------- .../tests/unittest/test_event_data.py | 43 +++ sdk/eventhub/tests.yml | 13 + 49 files changed, 834 insertions(+), 1457 deletions(-) create mode 100644 sdk/eventhub/azure-eventhubs/examples/async_examples/recv_track_last_enqueued_event_info_async.py delete mode 100644 sdk/eventhub/azure-eventhubs/examples/iothub_recv.py delete mode 100644 sdk/eventhub/azure-eventhubs/examples/iothub_send.py create mode 100644 sdk/eventhub/azure-eventhubs/examples/recv_track_last_enqueued_event_info.py create mode 100644 sdk/eventhub/azure-eventhubs/stress/azure_eventhub_stress.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/asynctests/test_iothub_receive_async.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/asynctests/test_long_running_eventprocessor.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_receive_async.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_send_async.py rename sdk/eventhub/azure-eventhubs/tests/{eventprocessor_tests => eventprocessor}/test_eventprocessor.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_auth_async.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_negative_async.py (94%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_properties_async.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_receive_async.py (87%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_receiver_iterator_async.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_reconnect_async.py (50%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest}/asynctests/test_send_async.py (97%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_auth.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_negative.py (92%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_properties.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_receive.py (86%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_receiver_iterator.py (100%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_reconnect.py (52%) rename sdk/eventhub/azure-eventhubs/tests/{ => livetest/synctests}/test_send.py (96%) delete mode 100644 sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/test_iothub_send.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/test_longrunning_receive.py delete mode 100644 sdk/eventhub/azure-eventhubs/tests/test_longrunning_send.py create mode 100644 sdk/eventhub/azure-eventhubs/tests/unittest/test_event_data.py diff --git a/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/HISTORY.md b/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/HISTORY.md index b40cd0557126..4e731b864491 100644 --- a/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/HISTORY.md +++ b/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/HISTORY.md @@ -1,4 +1,8 @@ # Release History + +## 1.0.0b4 (2019-10-09) +This release has trivial internal changes only. No feature changes. + ## 1.0.0b1 (2019-09-10) **New features** diff --git a/sdk/eventhub/azure-eventhubs/HISTORY.md b/sdk/eventhub/azure-eventhubs/HISTORY.md index f0577a7640d9..85fc63509e55 100644 --- a/sdk/eventhub/azure-eventhubs/HISTORY.md +++ b/sdk/eventhub/azure-eventhubs/HISTORY.md @@ -1,10 +1,22 @@ # Release History -## 5.0.0b4 (2019-XX-XX) +## 5.0.0b4 (2019-10-08) **New features** -- Support for tracing #7153 +- Added support for tracing (issue #7153). +- Added the capability of tracking last enqueued event properties of the partition to `EventHubConsumer` . + - Added new boolean type parameter`track_last_enqueued_event_properties` in method `EventHubClient.create_consumer()`. + - Added new property `last_enqueued_event_properties` of on `EventHubConsumer` which contains sequence_number, offset, enqueued_time and retrieval_time information. + - By default the capability is disabled as it will cost extra band width for transferring more information if turned on. + +**Breaking changes** + +- Removed support for IoT Hub direct connection. + - [EventHubs compatible connection string](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin) of an IotHub can be used to create `EventHubClient` and read properties or events from an IoT Hub. +- Removed support for sending EventData to IoT Hub. +- Removed parameter `exception` in method `close()` of `EventHubConsumer` and `EventHubProcuer`. +- Updated uAMQP dependency to 1.2.3. ## 5.0.0b3 (2019-09-10) diff --git a/sdk/eventhub/azure-eventhubs/README.md b/sdk/eventhub/azure-eventhubs/README.md index f456159d938f..e4fc68fd38e0 100644 --- a/sdk/eventhub/azure-eventhubs/README.md +++ b/sdk/eventhub/azure-eventhubs/README.md @@ -13,7 +13,7 @@ The Azure Event Hubs client library allows for publishing and consuming of Azure - Observe interesting operations and interactions happening within your business or other ecosystem, allowing loosely coupled systems to interact without the need to bind them together. - Receive events from one or more publishers, transform them to better meet the needs of your ecosystem, then publish the transformed events to a new stream for consumers to observe. -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhubs) | [Package (PyPi)](https://pypi.org/project/azure-eventhub/5.0.0b3) | [API reference documentation](https://azure.github.io/azure-sdk-for-python/ref/azure.eventhub) | [Product documentation](https://docs.microsoft.com/en-us/azure/event-hubs/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhubs) | [Package (PyPi)](https://pypi.org/project/azure-eventhub/5.0.0b4) | [API reference documentation](https://azure.github.io/azure-sdk-for-python/ref/azure.eventhub) | [Product documentation](https://docs.microsoft.com/en-us/azure/event-hubs/) ## Getting started @@ -119,6 +119,7 @@ The following sections provide several code snippets covering some of the most c - [Async publish events to an Event Hub](#async-publish-events-to-an-event-hub) - [Async consume events from an Event Hub](#async-consume-events-from-an-event-hub) - [Consume events using an Event Processor](#consume-events-using-an-event-processor) +- [Use EventHubClient to work with IoT Hub](#use-eventhubclient-to-work-with-iot-hub) ### Inspect an Event Hub @@ -359,6 +360,24 @@ if __name__ == '__main__': loop.run_until_complete(main()) ``` +### Use EventHubClient to work with IoT Hub + +You can use `EventHubClient` to work with IoT Hub as well. This is useful for receiving telemetry data of IoT Hub from the +linked EventHub. The associated connection string will not have send claims, hence sending events is not possible. + +- Please notice that the connection string needs to be for an + [Event Hub-compatible endpoint](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin) + e.g. "Endpoint=sb://my-iothub-namespace-[uid].servicebus.windows.net/;SharedAccessKeyName=my-SA-name;SharedAccessKey=my-SA-key;EntityPath=my-iot-hub-name" + +```python +from azure.eventhub import EventHubClient + +connection_str = 'Endpoint=sb://my-iothub-namespace-[uid].servicebus.windows.net/;SharedAccessKeyName=my-SA-name;SharedAccessKey=my-SA-key;EntityPath=my-iot-hub-name' +client = EventHubClient.from_connection_string(connection_str) + +partition_ids = client.get_partition_ids() +``` + ## Troubleshooting ### General diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/_consumer_producer_mixin.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/_consumer_producer_mixin.py index a14da749ee78..44ea7d09b493 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/_consumer_producer_mixin.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/_consumer_producer_mixin.py @@ -18,46 +18,34 @@ def __init__(self): self._client = None self._handler = None self._name = None + self._running = False + self._closed = False def __enter__(self): return self def __exit__(self, exc_type, exc_val, exc_tb): - self.close(exc_val) + self.close() def _check_closed(self): - if self._error: + if self._closed: raise EventHubError("{} has been closed. Please create a new one to handle event data.".format(self._name)) def _create_handler(self): pass - def _redirect(self, redirect): - self._redirected = redirect - self._running = False - self._close_connection() - def _open(self): - """ - Open the EventHubConsumer/EventHubProducer using the supplied connection. - If the handler has previously been redirected, the redirect - context will be used to create a new handler before opening it. + """Open the EventHubConsumer/EventHubProducer using the supplied connection. """ # pylint: disable=protected-access if not self._running: if self._handler: self._handler.close() - if self._redirected: - alt_creds = { - "username": self._client._auth_config.get("iot_username"), - "password": self._client._auth_config.get("iot_password")} - else: - alt_creds = {} self._create_handler() self._handler.open(connection=self._client._conn_manager.get_connection( # pylint: disable=protected-access self._client._address.hostname, - self._client._get_auth(**alt_creds) + self._client._create_auth() )) while not self._handler.client_ready(): time.sleep(0.05) @@ -66,7 +54,8 @@ def _open(self): self._running = True def _close_handler(self): - self._handler.close() # close the link (sharing connection) or connection (not sharing) + if self._handler: + self._handler.close() # close the link (sharing connection) or connection (not sharing) self._running = False def _close_connection(self): @@ -76,8 +65,6 @@ def _close_connection(self): def _handle_exception(self, exception): if not self._running and isinstance(exception, compat.TimeoutException): exception = errors.AuthenticationException("Authorization timeout.") - return _handle_exception(exception, self) - return _handle_exception(exception, self) def _do_retryable_operation(self, operation, timeout=100000, **kwargs): @@ -102,16 +89,11 @@ def _do_retryable_operation(self, operation, timeout=100000, **kwargs): log.info("%r operation has exhausted retry. Last exception: %r.", self._name, last_exception) raise last_exception - def close(self, exception=None): - # type:(Exception) -> None + def close(self): + # type:() -> None """ Close down the handler. If the handler has already closed, - this will be a no op. An optional exception can be passed in to - indicate that the handler was shutdown due to error. - - :param exception: An optional exception if the handler is closing - due to an error. - :type exception: Exception + this will be a no op. Example: .. literalinclude:: ../examples/test_examples_eventhub.py @@ -122,16 +104,7 @@ def close(self, exception=None): :caption: Close down the handler. """ - self._running = False - if self._error: # type: ignore - return - if isinstance(exception, errors.LinkRedirect): - self._redirected = exception - elif isinstance(exception, EventHubError): - self._error = exception - elif exception: - self._error = EventHubError(str(exception)) - else: - self._error = EventHubError("{} handler is closed.".format(self._name)) if self._handler: self._handler.close() # this will close link if sharing connection. Otherwise close connection + self._running = False + self._closed = True diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/_consumer_producer_mixin_async.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/_consumer_producer_mixin_async.py index 444edd15a8a1..939c78a1a458 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/_consumer_producer_mixin_async.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/_consumer_producer_mixin_async.py @@ -7,7 +7,7 @@ import time from uamqp import errors, constants, compat # type: ignore -from azure.eventhub.error import EventHubError, ConnectError +from azure.eventhub.error import EventHubError from ..aio.error_async import _handle_exception log = logging.getLogger(__name__) @@ -19,46 +19,35 @@ def __init__(self): self._client = None self._handler = None self._name = None + self._running = False + self._closed = False async def __aenter__(self): return self async def __aexit__(self, exc_type, exc_val, exc_tb): - await self.close(exc_val) + await self.close() def _check_closed(self): - if self._error: + if self._closed: raise EventHubError("{} has been closed. Please create a new one to handle event data.".format(self._name)) def _create_handler(self): pass - async def _redirect(self, redirect): - self._redirected = redirect - self._running = False - await self._close_connection() - async def _open(self): """ Open the EventHubConsumer using the supplied connection. - If the handler has previously been redirected, the redirect - context will be used to create a new handler before opening it. """ # pylint: disable=protected-access if not self._running: if self._handler: await self._handler.close_async() - if self._redirected: - alt_creds = { - "username": self._client._auth_config.get("iot_username"), - "password": self._client._auth_config.get("iot_password")} - else: - alt_creds = {} self._create_handler() await self._handler.open_async(connection=await self._client._conn_manager.get_connection( self._client._address.hostname, - self._client._get_auth(**alt_creds) + self._client._create_auth() )) while not await self._handler.client_ready_async(): await asyncio.sleep(0.05) @@ -67,7 +56,8 @@ async def _open(self): self._running = True async def _close_handler(self): - await self._handler.close_async() # close the link (sharing connection) or connection (not sharing) + if self._handler: + await self._handler.close_async() # close the link (sharing connection) or connection (not sharing) self._running = False async def _close_connection(self): @@ -103,16 +93,11 @@ async def _do_retryable_operation(self, operation, timeout=100000, **kwargs): log.info("%r operation has exhausted retry. Last exception: %r.", self._name, last_exception) raise last_exception - async def close(self, exception=None): - # type: (Exception) -> None + async def close(self): + # type: () -> None """ Close down the handler. If the handler has already closed, - this will be a no op. An optional exception can be passed in to - indicate that the handler was shutdown due to error. - - :param exception: An optional exception if the handler is closing - due to an error. - :type exception: Exception + this will be a no op. Example: .. literalinclude:: ../examples/async_examples/test_examples_eventhub_async.py @@ -123,18 +108,7 @@ async def close(self, exception=None): :caption: Close down the handler. """ - self._running = False - if self._error: #type: ignore - return - if isinstance(exception, errors.LinkRedirect): - self._redirected = exception - elif isinstance(exception, EventHubError): - self._error = exception - elif isinstance(exception, (errors.LinkDetach, errors.ConnectionClose)): - self._error = ConnectError(str(exception), exception) - elif exception: - self._error = EventHubError(str(exception)) - else: - self._error = EventHubError("This receive handler is now closed.") if self._handler: await self._handler.close_async() + self._running = False + self._closed = True diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/client_async.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/client_async.py index 88b693d157ec..e679afaa1cf1 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/client_async.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/client_async.py @@ -11,10 +11,7 @@ from typing import Any, List, Dict, Union, TYPE_CHECKING from uamqp import authentication, constants # type: ignore -from uamqp import ( - Message, - AMQPClientAsync, -) # type: ignore +from uamqp import Message, AMQPClientAsync # type: ignore from azure.eventhub.common import parse_sas_token, EventPosition, \ EventHubSharedKeyCredential, EventHubSASTokenCredential @@ -58,23 +55,19 @@ async def __aenter__(self): async def __aexit__(self, exc_type, exc_val, exc_tb): await self.close() - def _create_auth(self, username=None, password=None): + def _create_auth(self): """ Create an ~uamqp.authentication.cbs_auth_async.SASTokenAuthAsync instance to authenticate the session. - :param username: The name of the shared access policy. - :type username: str - :param password: The shared access key. - :type password: str """ http_proxy = self._config.http_proxy transport_type = self._config.transport_type auth_timeout = self._config.auth_timeout if isinstance(self._credential, EventHubSharedKeyCredential): # pylint:disable=no-else-return - username = username or self._auth_config['username'] - password = password or self._auth_config['password'] + username = self._credential.policy + password = self._credential.key if "@sas.root" in username: return authentication.SASLPlain( self._host, username, password, http_proxy=http_proxy, transport_type=transport_type) @@ -117,14 +110,10 @@ async def _try_delay(self, retried_times, last_exception, timeout_time=None, ent raise last_exception async def _management_request(self, mgmt_msg, op_type): - alt_creds = { - "username": self._auth_config.get("iot_username"), - "password": self._auth_config.get("iot_password") - } - retried_times = 0 + last_exception = None while retried_times <= self._config.max_retries: - mgmt_auth = self._create_auth(**alt_creds) + mgmt_auth = self._create_auth() mgmt_client = AMQPClientAsync(self._mgmt_target, auth=mgmt_auth, debug=self._config.network_tracing) try: conn = await self._conn_manager.get_connection(self._host, mgmt_auth) @@ -142,18 +131,8 @@ async def _management_request(self, mgmt_msg, op_type): retried_times += 1 finally: await mgmt_client.close_async() - - async def _iothub_redirect(self): - async with self._lock: - if self._is_iothub and not self._iothub_redirect_info: - if not self._redirect_consumer: - self._redirect_consumer = self.create_consumer(consumer_group='$default', - partition_id='0', - event_position=EventPosition('-1'), - operation='/messages/events') - async with self._redirect_consumer: - await self._redirect_consumer._open_with_retry() # pylint: disable=protected-access - self._redirect_consumer = None + log.info("%r returns an exception %r", self._container_id, last_exception) # pylint:disable=specify-parameter-names-in-call + raise last_exception async def get_properties(self): # type:() -> Dict[str, Any] @@ -168,8 +147,6 @@ async def get_properties(self): :rtype: dict :raises: ~azure.eventhub.EventHubError """ - if self._is_iothub and not self._iothub_redirect_info: - await self._iothub_redirect() mgmt_msg = Message(application_properties={'name': self.eh_name}) response = await self._management_request(mgmt_msg, op_type=b'com.microsoft:eventhub') output = {} @@ -209,8 +186,6 @@ async def get_partition_properties(self, partition): :rtype: dict :raises: ~azure.eventhub.EventHubError """ - if self._is_iothub and not self._iothub_redirect_info: - await self._iothub_redirect() mgmt_msg = Message(application_properties={'name': self.eh_name, 'partition': partition}) response = await self._management_request(mgmt_msg, op_type=b'com.microsoft:partition') @@ -246,11 +221,16 @@ def create_consumer( :param owner_level: The priority of the exclusive consumer. The client will create an exclusive consumer if owner_level is set. :type owner_level: int - :param operation: An optional operation to be appended to the hostname in the source URL. - The value must start with `/` character. - :type operation: str :param prefetch: The message prefetch count of the consumer. Default is 300. :type prefetch: int + :param track_last_enqueued_event_properties: Indicates whether or not the consumer should request information + on the last enqueued event on its associated partition, and track that information as events are received. + When information about the partition's last enqueued event is being tracked, each event received from the + Event Hubs service will carry metadata about the partition. This results in a small amount of additional + network bandwidth consumption that is generally a favorable trade-off when considered against periodically + making requests for partition properties using the Event Hub client. + It is set to `False` by default. + :type track_last_enqueued_event_properties: bool :param loop: An event loop. If not specified the default event loop will be used. :rtype: ~azure.eventhub.aio.consumer_async.EventHubConsumer @@ -264,22 +244,21 @@ def create_consumer( """ owner_level = kwargs.get("owner_level") - operation = kwargs.get("operation") prefetch = kwargs.get("prefetch") or self._config.prefetch + track_last_enqueued_event_properties = kwargs.get("track_last_enqueued_event_properties", False) loop = kwargs.get("loop") - path = self._address.path + operation if operation else self._address.path source_url = "amqps://{}{}/ConsumerGroups/{}/Partitions/{}".format( - self._address.hostname, path, consumer_group, partition_id) + self._address.hostname, self._address.path, consumer_group, partition_id) handler = EventHubConsumer( self, source_url, event_position=event_position, owner_level=owner_level, - prefetch=prefetch, loop=loop) + prefetch=prefetch, + track_last_enqueued_event_properties=track_last_enqueued_event_properties, loop=loop) return handler def create_producer( self, *, partition_id: str = None, - operation: str = None, send_timeout: float = None, loop: asyncio.AbstractEventLoop = None ) -> EventHubProducer: @@ -290,9 +269,6 @@ def create_producer( If omitted, the events will be distributed to available partitions via round-robin. :type partition_id: str - :param operation: An optional operation to be appended to the hostname in the target URL. - The value must start with `/` character. - :type operation: str :param send_timeout: The timeout in seconds for an individual event to be sent from the time that it is queued. Default value is 60 seconds. If set to 0, there will be no timeout. :type send_timeout: float @@ -310,8 +286,6 @@ def create_producer( """ target = "amqps://{}{}".format(self._address.hostname, self._address.path) - if operation: - target = target + operation send_timeout = self._config.send_timeout if send_timeout is None else send_timeout handler = EventHubProducer( diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/consumer_async.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/consumer_async.py index 015b11190212..7aff6980b9e0 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/consumer_async.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/consumer_async.py @@ -5,14 +5,16 @@ import asyncio import uuid import logging -from typing import List +from typing import List, Any import time +from distutils.version import StrictVersion -from uamqp import errors, types # type: ignore +import uamqp # type: ignore +from uamqp import errors, types, utils # type: ignore from uamqp import ReceiveClientAsync, Source # type: ignore from azure.eventhub import EventData, EventPosition -from azure.eventhub.error import EventHubError, ConnectError, _error_handler +from azure.eventhub.error import _error_handler from ._consumer_producer_mixin_async import ConsumerProducerMixin log = logging.getLogger(__name__) @@ -36,6 +38,7 @@ class EventHubConsumer(ConsumerProducerMixin): # pylint:disable=too-many-instan _timeout = 0 _epoch_symbol = b'com.microsoft:epoch' _timeout_symbol = b'com.microsoft:timeout' + _receiver_runtime_metric_symbol = b'com.microsoft:enable-receiver-runtime-metric' def __init__( # pylint: disable=super-init-not-called self, client, source, **kwargs): @@ -55,6 +58,14 @@ def __init__( # pylint: disable=super-init-not-called :param owner_level: The priority of the exclusive consumer. An exclusive consumer will be created if owner_level is set. :type owner_level: int + :param track_last_enqueued_event_properties: Indicates whether or not the consumer should request information + on the last enqueued event on its associated partition, and track that information as events are received. + When information about the partition's last enqueued event is being tracked, each event received from the + Event Hubs service will carry metadata about the partition. This results in a small amount of additional + network bandwidth consumption that is generally a favorable trade-off when considered against periodically + making requests for partition properties using the Event Hub client. + It is set to `False` by default. + :type track_last_enqueued_event_properties: bool :param loop: An event loop. """ event_position = kwargs.get("event_position", None) @@ -62,11 +73,11 @@ def __init__( # pylint: disable=super-init-not-called owner_level = kwargs.get("owner_level", None) keep_alive = kwargs.get("keep_alive", None) auto_reconnect = kwargs.get("auto_reconnect", True) + track_last_enqueued_event_properties = kwargs.get("track_last_enqueued_event_properties", False) loop = kwargs.get("loop", None) super(EventHubConsumer, self).__init__() self._loop = loop or asyncio.get_event_loop() - self._running = False self._client = client self._source = source self._offset = event_position @@ -77,8 +88,6 @@ def __init__( # pylint: disable=super-init-not-called self._auto_reconnect = auto_reconnect self._retry_policy = errors.ErrorPolicy(max_retries=self._client._config.max_retries, on_error=_error_handler) # pylint:disable=protected-access self._reconnect_backoff = 1 - self._redirected = None - self._error = None self._link_properties = {} partition = self._source.split('/')[-1] self._partition = partition @@ -88,6 +97,8 @@ def __init__( # pylint: disable=super-init-not-called link_property_timeout_ms = (self._client._config.receive_timeout or self._timeout) * 1000 # pylint:disable=protected-access self._link_properties[types.AMQPSymbol(self._timeout_symbol)] = types.AMQPLong(int(link_property_timeout_ms)) self._handler = None + self._track_last_enqueued_event_properties = track_last_enqueued_event_properties + self._last_enqueued_event_properties = {} def __aiter__(self): return self @@ -105,6 +116,8 @@ async def __anext__(self): event_data._trace_link_message() # pylint:disable=protected-access self._offset = EventPosition(event_data.offset, inclusive=False) retried_times = 0 + if self._track_last_enqueued_event_properties: + self._last_enqueued_event_properties = event_data._get_last_enqueued_event_properties() # pylint:disable=protected-access return event_data except Exception as exception: # pylint:disable=broad-except last_exception = await self._handle_exception(exception) @@ -115,17 +128,21 @@ async def __anext__(self): raise last_exception def _create_handler(self): - alt_creds = { - "username": self._client._auth_config.get("iot_username") if self._redirected else None, # pylint:disable=protected-access - "password": self._client._auth_config.get("iot_password") if self._redirected else None # pylint:disable=protected-access - } - source = Source(self._source) if self._offset is not None: source.set_filter(self._offset._selector()) # pylint:disable=protected-access + + if StrictVersion(uamqp.__version__) < StrictVersion("1.2.3"): # backward compatible until uamqp 1.2.3 released + desired_capabilities = {} + elif self._track_last_enqueued_event_properties: + symbol_array = [types.AMQPSymbol(self._receiver_runtime_metric_symbol)] + desired_capabilities = {"desired_capabilities": utils.data_factory(types.AMQPArray(symbol_array))} + else: + desired_capabilities = {"desired_capabilities": None} + self._handler = ReceiveClientAsync( source, - auth=self._client._get_auth(**alt_creds), # pylint:disable=protected-access + auth=self._client._create_auth(), # pylint:disable=protected-access debug=self._client._config.network_tracing, # pylint:disable=protected-access prefetch=self._prefetch, link_properties=self._link_properties, @@ -133,30 +150,14 @@ def _create_handler(self): error_policy=self._retry_policy, keep_alive_interval=self._keep_alive, client_name=self._name, + receive_settle_mode=uamqp.constants.ReceiverSettleMode.ReceiveAndDelete, + auto_complete=False, properties=self._client._create_properties( # pylint:disable=protected-access self._client._config.user_agent), # pylint:disable=protected-access + **desired_capabilities, # pylint:disable=protected-access loop=self._loop) self._messages_iter = None - async def _redirect(self, redirect): - self._messages_iter = None - await super(EventHubConsumer, self)._redirect(redirect) - - async def _open(self): - """ - Open the EventHubConsumer using the supplied connection. - If the handler has previously been redirected, the redirect - context will be used to create a new handler before opening it. - - """ - # pylint: disable=protected-access - self._redirected = self._redirected or self._client._iothub_redirect_info - - if not self._running and self._redirected: - self._client._process_redirect_uri(self._redirected) - self._source = self._redirected.address - await super(EventHubConsumer, self)._open() - async def _open_with_retry(self): return await self._do_retryable_operation(self._open, operation_need_param=False) @@ -178,16 +179,37 @@ async def _receive(self, timeout_time=None, max_batch_size=None, **kwargs): timeout=remaining_time_ms) for message in message_batch: event_data = EventData._from_message(message) # pylint:disable=protected-access - self._offset = EventPosition(event_data.offset) data_batch.append(event_data) event_data._trace_link_message() # pylint:disable=protected-access + if data_batch: + self._offset = EventPosition(data_batch[-1].offset) + + if self._track_last_enqueued_event_properties and data_batch: + self._last_enqueued_event_properties = data_batch[-1]._get_last_enqueued_event_properties() # pylint:disable=protected-access + return data_batch async def _receive_with_retry(self, timeout=None, max_batch_size=None, **kwargs): return await self._do_retryable_operation(self._receive, timeout=timeout, max_batch_size=max_batch_size, **kwargs) + @property + def last_enqueued_event_properties(self): + """ + The latest enqueued event information. This property will be updated each time an event is received when + the receiver is created with `track_last_enqueued_event_properties` being `True`. + The dict includes following information of the partition: + + - `sequence_number` + - `offset` + - `enqueued_time` + - `retrieval_time` + + :rtype: dict or None + """ + return self._last_enqueued_event_properties if self._track_last_enqueued_event_properties else None + @property def queue_size(self): # type: () -> int @@ -202,7 +224,7 @@ def queue_size(self): return 0 async def receive(self, *, max_batch_size=None, timeout=None): - # type: (int, float) -> List[EventData] + # type: (Any, int, float) -> List[EventData] """ Receive events asynchronously from the EventHub. @@ -235,16 +257,11 @@ async def receive(self, *, max_batch_size=None, timeout=None): return await self._receive_with_retry(timeout=timeout, max_batch_size=max_batch_size) - async def close(self, exception=None): - # type: (Exception) -> None + async def close(self): + # type: () -> None """ Close down the handler. If the handler has already closed, - this will be a no op. An optional exception can be passed in to - indicate that the handler was shutdown due to error. - - :param exception: An optional exception if the handler is closing - due to an error. - :type exception: Exception + this will be a no op. Example: .. literalinclude:: ../examples/async_examples/test_examples_eventhub_async.py @@ -255,18 +272,4 @@ async def close(self, exception=None): :caption: Close down the handler. """ - self._running = False - if self._error: - return - if isinstance(exception, errors.LinkRedirect): - self._redirected = exception - elif isinstance(exception, EventHubError): - self._error = exception - elif isinstance(exception, (errors.LinkDetach, errors.ConnectionClose)): - self._error = ConnectError(str(exception), exception) - elif exception: - self._error = EventHubError(str(exception)) - else: - self._error = EventHubError("This receive handler is now closed.") - if self._handler: - await self._handler.close_async() + await super(EventHubConsumer, self).close() diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/error_async.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/error_async.py index ae1cd8084f3d..7bbc3b6153c1 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/error_async.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/error_async.py @@ -68,11 +68,6 @@ async def _handle_exception(exception, closable): # pylint:disable=too-many-bra if isinstance(exception, errors.AuthenticationException): if hasattr(closable, "_close_connection"): await closable._close_connection() # pylint:disable=protected-access - elif isinstance(exception, errors.LinkRedirect): - log.info("%r link redirect received. Redirecting...", name) - redirect = exception - if hasattr(closable, "_redirect"): - await closable._redirect(redirect) # pylint:disable=protected-access elif isinstance(exception, errors.LinkDetach): if hasattr(closable, "_close_handler"): await closable._close_handler() # pylint:disable=protected-access diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py index 3183dc051ac8..14af12444c0b 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py @@ -9,8 +9,8 @@ import asyncio import logging -from azure.core.tracing import SpanKind -from azure.core.settings import settings +from azure.core.tracing import SpanKind # type: ignore +from azure.core.settings import settings # type: ignore from azure.eventhub import EventPosition, EventHubError from azure.eventhub.aio import EventHubClient diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/producer_async.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/producer_async.py index 8ef299b0e6da..75b39217ddb4 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/producer_async.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/producer_async.py @@ -5,14 +5,14 @@ import uuid import asyncio import logging -from typing import Iterable, Union +from typing import Iterable, Union, Type import time from uamqp import types, constants, errors # type: ignore from uamqp import SendClientAsync # type: ignore -from azure.core.tracing import SpanKind -from azure.core.settings import settings +from azure.core.tracing import SpanKind, AbstractSpan # type: ignore +from azure.core.settings import settings # type: ignore from azure.eventhub.common import EventData, EventDataBatch from azure.eventhub.error import _error_handler, OperationTimeoutError, EventDataError @@ -66,7 +66,6 @@ def __init__( # pylint: disable=super-init-not-called super(EventHubProducer, self).__init__() self._loop = loop or asyncio.get_event_loop() self._max_message_size_on_link = None - self._running = False self._client = client self._target = target self._partition = partition @@ -77,7 +76,6 @@ def __init__( # pylint: disable=super-init-not-called self._reconnect_backoff = 1 self._name = "EHProducer-{}".format(uuid.uuid4()) self._unsent_events = None - self._redirected = None self._error = None if partition: self._target += "/Partitions/" + partition @@ -90,7 +88,7 @@ def __init__( # pylint: disable=super-init-not-called def _create_handler(self): self._handler = SendClientAsync( self._target, - auth=self._client._get_auth(), # pylint:disable=protected-access + auth=self._client._create_auth(), # pylint:disable=protected-access debug=self._client._config.network_tracing, # pylint:disable=protected-access msg_timeout=self._timeout, error_policy=self._retry_policy, @@ -101,18 +99,6 @@ def _create_handler(self): self._client._config.user_agent), # pylint:disable=protected-access loop=self._loop) - async def _open(self): - """ - Open the EventHubProducer using the supplied connection. - If the handler has previously been redirected, the redirect - context will be used to create a new handler before opening it. - - """ - if not self._running and self._redirected: - self._client._process_redirect_uri(self._redirected) # pylint: disable=protected-access - self._target = self._redirected.address - await super(EventHubProducer, self)._open() - async def _open_with_retry(self): return await self._do_retryable_operation(self._open, operation_need_param=False) @@ -127,7 +113,7 @@ async def _send_event_data(self, timeout_time=None, last_exception=None): error = OperationTimeoutError("send operation timed out") log.info("%r send operation timed out. (%r)", self._name, error) raise error - self._handler._msg_timeout = remaining_time # pylint: disable=protected-access + self._handler._msg_timeout = remaining_time * 1000 # pylint: disable=protected-access self._handler.queue_message(*self._unsent_events) await self._handler.wait_async() self._unsent_events = self._handler.pending_messages @@ -250,16 +236,11 @@ async def send( else: await self._send_event_data_with_retry(timeout=timeout) # pylint:disable=unexpected-keyword-arg # TODO: to refactor - async def close(self, exception=None): - # type: (Exception) -> None + async def close(self): + # type: () -> None """ Close down the handler. If the handler has already closed, - this will be a no op. An optional exception can be passed in to - indicate that the handler was shutdown due to error. - - :param exception: An optional exception if the handler is closing - due to an error. - :type exception: Exception + this will be a no op. Example: .. literalinclude:: ../examples/async_examples/test_examples_eventhub_async.py @@ -270,4 +251,4 @@ async def close(self, exception=None): :caption: Close down the handler. """ - await super(EventHubProducer, self).close(exception) + await super(EventHubProducer, self).close() diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/client.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/client.py index 06d264b5b9ac..9a7ca85e3330 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/client.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/client.py @@ -58,7 +58,7 @@ def __enter__(self): def __exit__(self, exc_type, exc_val, exc_tb): self.close() - def _create_auth(self, username=None, password=None): + def _create_auth(self): """ Create an ~uamqp.authentication.SASTokenAuth instance to authenticate the session. @@ -74,8 +74,8 @@ def _create_auth(self, username=None, password=None): # TODO: the following code can be refactored to create auth from classes directly instead of using if-else if isinstance(self._credential, EventHubSharedKeyCredential): # pylint:disable=no-else-return - username = username or self._auth_config['username'] - password = password or self._auth_config['password'] + username = self._credential.policy + password = self._credential.key if "@sas.root" in username: return authentication.SASLPlain( self._host, username, password, http_proxy=http_proxy, transport_type=transport_type) @@ -119,14 +119,10 @@ def _try_delay(self, retried_times, last_exception, timeout_time=None, entity_na raise last_exception def _management_request(self, mgmt_msg, op_type): - alt_creds = { - "username": self._auth_config.get("iot_username"), - "password": self._auth_config.get("iot_password") - } - retried_times = 0 + last_exception = None while retried_times <= self._config.max_retries: - mgmt_auth = self._create_auth(**alt_creds) + mgmt_auth = self._create_auth() mgmt_client = uamqp.AMQPClient(self._mgmt_target) try: conn = self._conn_manager.get_connection(self._host, mgmt_auth) #pylint:disable=assignment-from-none @@ -144,18 +140,9 @@ def _management_request(self, mgmt_msg, op_type): retried_times += 1 finally: mgmt_client.close() + log.info("%r returns an exception %r", self._container_id, last_exception) # pylint:disable=specify-parameter-names-in-call + raise last_exception - def _iothub_redirect(self): - with self._lock: - if self._is_iothub and not self._iothub_redirect_info: - if not self._redirect_consumer: - self._redirect_consumer = self.create_consumer(consumer_group='$default', - partition_id='0', - event_position=EventPosition('-1'), - operation='/messages/events') - with self._redirect_consumer: - self._redirect_consumer._open_with_retry() # pylint: disable=protected-access - self._redirect_consumer = None def get_properties(self): # type:() -> Dict[str, Any] @@ -170,8 +157,6 @@ def get_properties(self): :rtype: dict :raises: ~azure.eventhub.EventHubError """ - if self._is_iothub and not self._iothub_redirect_info: - self._iothub_redirect() mgmt_msg = Message(application_properties={'name': self.eh_name}) response = self._management_request(mgmt_msg, op_type=b'com.microsoft:eventhub') output = {} @@ -211,8 +196,6 @@ def get_partition_properties(self, partition): :rtype: dict :raises: ~azure.eventhub.ConnectError """ - if self._is_iothub and not self._iothub_redirect_info: - self._iothub_redirect() mgmt_msg = Message(application_properties={'name': self.eh_name, 'partition': partition}) response = self._management_request(mgmt_msg, op_type=b'com.microsoft:partition') @@ -244,11 +227,16 @@ def create_consumer(self, consumer_group, partition_id, event_position, **kwargs :param owner_level: The priority of the exclusive consumer. The client will create an exclusive consumer if owner_level is set. :type owner_level: int - :param operation: An optional operation to be appended to the hostname in the source URL. - The value must start with `/` character. - :type operation: str :param prefetch: The message prefetch count of the consumer. Default is 300. :type prefetch: int + :param track_last_enqueued_event_properties: Indicates whether or not the consumer should request information + on the last enqueued event on its associated partition, and track that information as events are received. + When information about the partition's last enqueued event is being tracked, each event received from the + Event Hubs service will carry metadata about the partition. This results in a small amount of additional + network bandwidth consumption that is generally a favorable trade-off when considered against periodically + making requests for partition properties using the Event Hub client. + It is set to `False` by default. + :type track_last_enqueued_event_properties: bool :rtype: ~azure.eventhub.consumer.EventHubConsumer Example: @@ -261,19 +249,19 @@ def create_consumer(self, consumer_group, partition_id, event_position, **kwargs """ owner_level = kwargs.get("owner_level") - operation = kwargs.get("operation") prefetch = kwargs.get("prefetch") or self._config.prefetch + track_last_enqueued_event_properties = kwargs.get("track_last_enqueued_event_properties", False) - path = self._address.path + operation if operation else self._address.path source_url = "amqps://{}{}/ConsumerGroups/{}/Partitions/{}".format( - self._address.hostname, path, consumer_group, partition_id) + self._address.hostname, self._address.path, consumer_group, partition_id) handler = EventHubConsumer( self, source_url, event_position=event_position, owner_level=owner_level, - prefetch=prefetch) + prefetch=prefetch, + track_last_enqueued_event_properties=track_last_enqueued_event_properties) return handler - def create_producer(self, partition_id=None, operation=None, send_timeout=None): - # type: (str, str, float) -> EventHubProducer + def create_producer(self, partition_id=None, send_timeout=None): + # type: (str, float) -> EventHubProducer """ Create an producer to send EventData object to an EventHub. @@ -300,8 +288,6 @@ def create_producer(self, partition_id=None, operation=None, send_timeout=None): """ target = "amqps://{}{}".format(self._address.hostname, self._address.path) - if operation: - target = target + operation send_timeout = self._config.send_timeout if send_timeout is None else send_timeout handler = EventHubProducer( diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/client_abstract.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/client_abstract.py index 62ea791a5894..00f3e867b598 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/client_abstract.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/client_abstract.py @@ -6,13 +6,14 @@ import logging import sys +import platform import uuid import time -import functools from abc import abstractmethod -from typing import Dict, Union, Any, TYPE_CHECKING +from typing import Union, Any, TYPE_CHECKING -from azure.eventhub import __version__, EventPosition +from uamqp import types # type: ignore +from azure.eventhub import __version__ from azure.eventhub.configuration import _Configuration from .common import EventHubSharedKeyCredential, EventHubSASTokenCredential, _Address @@ -139,53 +140,18 @@ def __init__(self, host, event_hub_path, credential, **kwargs): self._address = _Address() self._address.hostname = host self._address.path = "/" + event_hub_path if event_hub_path else "" - self._auth_config = {} # type:Dict[str,str] self._credential = credential - if isinstance(credential, EventHubSharedKeyCredential): - self._username = credential.policy - self._password = credential.key - self._auth_config['username'] = self._username - self._auth_config['password'] = self._password - self._keep_alive = kwargs.get("keep_alive", 30) self._auto_reconnect = kwargs.get("auto_reconnect", True) self._mgmt_target = "amqps://{}/{}".format(self._host, self.eh_name) self._auth_uri = "sb://{}{}".format(self._address.hostname, self._address.path) - self._get_auth = functools.partial(self._create_auth) self._config = _Configuration(**kwargs) self._debug = self._config.network_tracing - self._is_iothub = False - self._iothub_redirect_info = None - self._redirect_consumer = None log.info("%r: Created the Event Hub client", self._container_id) - @classmethod - def _from_iothub_connection_string(cls, conn_str, **kwargs): - address, policy, key, _ = _parse_conn_str(conn_str) - hub_name = address.split('.')[0] - username = "{}@sas.root.{}".format(policy, hub_name) - password = _generate_sas_token(address, policy, key) - left_slash_pos = address.find("//") - if left_slash_pos != -1: - host = address[left_slash_pos + 2:] - else: - host = address - client = cls(host, "", EventHubSharedKeyCredential(username, password), **kwargs) - client._auth_config = { # pylint: disable=protected-access - 'iot_username': policy, - 'iot_password': key, - 'username': username, - 'password': password} - client._is_iothub = True # pylint: disable=protected-access - client._redirect_consumer = client.create_consumer(consumer_group='$default', # pylint: disable=protected-access, no-member - partition_id='0', - event_position=EventPosition('-1'), - operation='/messages/events') - return client - @abstractmethod - def _create_auth(self, username=None, password=None): + def _create_auth(self): pass def _create_properties(self, user_agent=None): # pylint: disable=no-self-use @@ -196,13 +162,17 @@ def _create_properties(self, user_agent=None): # pylint: disable=no-self-use :rtype: dict """ properties = {} - properties["product"] = "eventhub.python" - properties["version"] = __version__ - properties["framework"] = "Python {}.{}.{}".format(*sys.version_info[0:3]) - properties["platform"] = sys.platform - - final_user_agent = 'azsdk-python-eventhub/{} ({}; {})'.format( - __version__, properties["framework"], sys.platform) + product = "azure-eventhub" + properties[types.AMQPSymbol("product")] = product + properties[types.AMQPSymbol("version")] = __version__ + framework = "Python {}.{}.{}, {}".format( + sys.version_info[0], sys.version_info[1], sys.version_info[2], platform.python_implementation() + ) + properties[types.AMQPSymbol("framework")] = framework + platform_str = platform.platform() + properties[types.AMQPSymbol("platform")] = platform_str + + final_user_agent = '{}/{} ({}, {})'.format(product, __version__, framework, platform_str) if user_agent: final_user_agent = '{}, {}'.format(final_user_agent, user_agent) @@ -210,8 +180,7 @@ def _create_properties(self, user_agent=None): # pylint: disable=no-self-use raise ValueError("The user-agent string cannot be more than {} in length." "Current user_agent string is: {} with length: {}".format( MAX_USER_AGENT_LENGTH, final_user_agent, len(final_user_agent))) - - properties["user-agent"] = final_user_agent + properties[types.AMQPSymbol("user-agent")] = final_user_agent return properties def _add_span_request_attributes(self, span): @@ -219,22 +188,11 @@ def _add_span_request_attributes(self, span): span.add_attribute("message_bus.destination", self._address.path) span.add_attribute("peer.address", self._address.hostname) - def _process_redirect_uri(self, redirect): - redirect_uri = redirect.address.decode('utf-8') - auth_uri, _, _ = redirect_uri.partition("/ConsumerGroups") - self._address = urlparse(auth_uri) - self._host = self._address.hostname - self.eh_name = self._address.path.lstrip('/') - self._auth_uri = "sb://{}{}".format(self._address.hostname, self._address.path) - self._mgmt_target = redirect_uri - if self._is_iothub: - self._iothub_redirect_info = redirect - @classmethod def from_connection_string(cls, conn_str, **kwargs): - """Create an EventHubClient from an EventHub/IotHub connection string. + """Create an EventHubClient from an EventHub connection string. - :param conn_str: The connection string of an eventhub or IoT hub + :param conn_str: The connection string of an eventhub :type conn_str: str :param event_hub_path: The path of the specific Event Hub to connect the client to, if the EntityName is not included in the connection string. @@ -279,15 +237,11 @@ def from_connection_string(cls, conn_str, **kwargs): """ event_hub_path = kwargs.pop("event_hub_path", None) - is_iot_conn_str = conn_str.lstrip().lower().startswith("hostname") - if not is_iot_conn_str: # pylint:disable=no-else-return - address, policy, key, entity = _parse_conn_str(conn_str) - entity = event_hub_path or entity - left_slash_pos = address.find("//") - if left_slash_pos != -1: - host = address[left_slash_pos + 2:] - else: - host = address - return cls(host, entity, EventHubSharedKeyCredential(policy, key), **kwargs) + address, policy, key, entity = _parse_conn_str(conn_str) + entity = event_hub_path or entity + left_slash_pos = address.find("//") + if left_slash_pos != -1: + host = address[left_slash_pos + 2:] else: - return cls._from_iothub_connection_string(conn_str, **kwargs) + host = address + return cls(host, entity, EventHubSharedKeyCredential(policy, key), **kwargs) diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/common.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/common.py index 3f2545829748..6e655ee7a8ad 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/common.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/common.py @@ -11,9 +11,9 @@ import six from uamqp import BatchMessage, Message, types, constants # type: ignore -from uamqp.message import MessageHeader, MessageProperties # type: ignore +from uamqp.message import MessageHeader # type: ignore -from azure.core.settings import settings +from azure.core.settings import settings # type: ignore from azure.eventhub.error import EventDataError @@ -58,31 +58,29 @@ class EventData(object): PROP_PARTITION_KEY = b"x-opt-partition-key" PROP_PARTITION_KEY_AMQP_SYMBOL = types.AMQPSymbol(PROP_PARTITION_KEY) PROP_TIMESTAMP = b"x-opt-enqueued-time" - PROP_DEVICE_ID = b"iothub-connection-device-id" + PROP_LAST_ENQUEUED_SEQUENCE_NUMBER = b"last_enqueued_sequence_number" + PROP_LAST_ENQUEUED_OFFSET = b"last_enqueued_offset" + PROP_LAST_ENQUEUED_TIME_UTC = b"last_enqueued_time_utc" + PROP_RUNTIME_INFO_RETRIEVAL_TIME_UTC = b"runtime_info_retrieval_time_utc" - def __init__(self, body=None, to_device=None): + def __init__(self, body=None): """ Initialize EventData. :param body: The data to send in a single message. :type body: str, bytes or list - :param to_device: An IoT device to route to. - :type to_device: str """ - self._annotations = {} - self._app_properties = {} - self._msg_properties = MessageProperties() - if to_device: - self._msg_properties.to = '/devices/{}/messages/devicebound'.format(to_device) + self._last_enqueued_event_properties = {} if body and isinstance(body, list): - self.message = Message(body[0], properties=self._msg_properties) + self.message = Message(body[0]) for more in body[1:]: self.message._body.append(more) # pylint: disable=protected-access elif body is None: raise ValueError("EventData cannot be None.") else: - self.message = Message(body, properties=self._msg_properties) + self.message = Message(body) + self.message.annotations = {} def __str__(self): dic = { @@ -96,8 +94,6 @@ def __str__(self): dic['offset'] = str(self.offset) if self.enqueued_time: dic['enqueued_time'] = str(self.enqueued_time) - if self.device_id: - dic['device_id'] = str(self.device_id) if self.partition_key: dic['partition_key'] = str(self.partition_key) return str(dic) @@ -109,13 +105,12 @@ def _set_partition_key(self, value): :param value: The partition key to set. :type value: str or bytes """ - annotations = dict(self._annotations) + annotations = dict(self.message.annotations) annotations[EventData.PROP_PARTITION_KEY_AMQP_SYMBOL] = value header = MessageHeader() header.durable = True self.message.annotations = annotations self.message.header = header - self._annotations = annotations def _trace_message(self, parent_span=None): """Add tracing information to this message. @@ -146,13 +141,30 @@ def _trace_link_message(self, parent_span=None): if traceparent: current_span.link(traceparent) - @staticmethod - def _from_message(message): - event_data = EventData(body='') + def _get_last_enqueued_event_properties(self): + if self._last_enqueued_event_properties: + return self._last_enqueued_event_properties + + if self.message.delivery_annotations: + self._last_enqueued_event_properties = { + "sequence_number": + self.message.delivery_annotations.get(EventData.PROP_LAST_ENQUEUED_SEQUENCE_NUMBER, None), + "offset": + self.message.delivery_annotations.get(EventData.PROP_LAST_ENQUEUED_OFFSET, None), + "enqueued_time": + self.message.delivery_annotations.get(EventData.PROP_LAST_ENQUEUED_TIME_UTC, None), + "retrieval_time": + self.message.delivery_annotations.get(EventData.PROP_RUNTIME_INFO_RETRIEVAL_TIME_UTC, None) + } + return self._last_enqueued_event_properties + + return None + + @classmethod + def _from_message(cls, message): + # pylint:disable=protected-access + event_data = cls(body='') event_data.message = message - event_data._msg_properties = message.properties # pylint:disable=protected-access - event_data._annotations = message.annotations # pylint:disable=protected-access - event_data._app_properties = message.application_properties # pylint:disable=protected-access return event_data @property @@ -162,7 +174,7 @@ def sequence_number(self): :rtype: int or long """ - return self._annotations.get(EventData.PROP_SEQ_NUMBER, None) + return self.message.annotations.get(EventData.PROP_SEQ_NUMBER, None) @property def offset(self): @@ -172,7 +184,7 @@ def offset(self): :rtype: str """ try: - return self._annotations[EventData.PROP_OFFSET].decode('UTF-8') + return self.message.annotations[EventData.PROP_OFFSET].decode('UTF-8') except (KeyError, AttributeError): return None @@ -183,21 +195,11 @@ def enqueued_time(self): :rtype: datetime.datetime """ - timestamp = self._annotations.get(EventData.PROP_TIMESTAMP, None) + timestamp = self.message.annotations.get(EventData.PROP_TIMESTAMP, None) if timestamp: return datetime.datetime.utcfromtimestamp(float(timestamp)/1000) return None - @property - def device_id(self): - """ - The device ID of the event data object. This is only used for - IoT Hub implementations. - - :rtype: bytes - """ - return self._annotations.get(EventData.PROP_DEVICE_ID, None) - @property def partition_key(self): """ @@ -206,9 +208,9 @@ def partition_key(self): :rtype: bytes """ try: - return self._annotations[EventData.PROP_PARTITION_KEY_AMQP_SYMBOL] + return self.message.annotations[EventData.PROP_PARTITION_KEY_AMQP_SYMBOL] except KeyError: - return self._annotations.get(EventData.PROP_PARTITION_KEY, None) + return self.message.annotations.get(EventData.PROP_PARTITION_KEY, None) @property def application_properties(self): @@ -217,7 +219,7 @@ def application_properties(self): :rtype: dict """ - return self._app_properties + return self.message.application_properties @application_properties.setter def application_properties(self, value): @@ -227,8 +229,7 @@ def application_properties(self, value): :param value: The application properties for the EventData. :type value: dict """ - self._app_properties = value - properties = None if value is None else dict(self._app_properties) + properties = None if value is None else dict(value) self.message.application_properties = properties @property @@ -238,7 +239,7 @@ def system_properties(self): :rtype: dict """ - return self._annotations + return self.message.annotations @property def body(self): diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/consumer.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/consumer.py index ff996a57747a..87869aaa3a7b 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/consumer.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/consumer.py @@ -8,8 +8,10 @@ import logging import time from typing import List +from distutils.version import StrictVersion -from uamqp import types, errors # type: ignore +import uamqp # type: ignore +from uamqp import types, errors, utils # type: ignore from uamqp import ReceiveClient, Source # type: ignore from azure.eventhub.common import EventData, EventPosition @@ -38,6 +40,7 @@ class EventHubConsumer(ConsumerProducerMixin): # pylint:disable=too-many-instan _timeout = 0 _epoch_symbol = b'com.microsoft:epoch' _timeout_symbol = b'com.microsoft:timeout' + _receiver_runtime_metric_symbol = b'com.microsoft:enable-receiver-runtime-metric' def __init__(self, client, source, **kwargs): """ @@ -54,15 +57,23 @@ def __init__(self, client, source, **kwargs): :param owner_level: The priority of the exclusive consumer. An exclusive consumer will be created if owner_level is set. :type owner_level: int + :param track_last_enqueued_event_properties: Indicates whether or not the consumer should request information + on the last enqueued event on its associated partition, and track that information as events are received. + When information about the partition's last enqueued event is being tracked, each event received from the + Event Hubs service will carry metadata about the partition. This results in a small amount of additional + network bandwidth consumption that is generally a favorable trade-off when considered against periodically + making requests for partition properties using the Event Hub client. + It is set to `False` by default. + :type track_last_enqueued_event_properties: bool """ event_position = kwargs.get("event_position", None) prefetch = kwargs.get("prefetch", 300) owner_level = kwargs.get("owner_level", None) keep_alive = kwargs.get("keep_alive", None) auto_reconnect = kwargs.get("auto_reconnect", True) + track_last_enqueued_event_properties = kwargs.get("track_last_enqueued_event_properties", False) super(EventHubConsumer, self).__init__() - self._running = False self._client = client self._source = source self._offset = event_position @@ -71,10 +82,9 @@ def __init__(self, client, source, **kwargs): self._owner_level = owner_level self._keep_alive = keep_alive self._auto_reconnect = auto_reconnect - self._retry_policy = errors.ErrorPolicy(max_retries=self._client._config.max_retries, on_error=_error_handler) # pylint:disable=protected-access + self._retry_policy = errors.ErrorPolicy(max_retries=self._client._config.max_retries, on_error=_error_handler) # pylint:disable=protected-access self._reconnect_backoff = 1 self._link_properties = {} - self._redirected = None self._error = None partition = self._source.split('/')[-1] self._partition = partition @@ -84,6 +94,8 @@ def __init__(self, client, source, **kwargs): link_property_timeout_ms = (self._client._config.receive_timeout or self._timeout) * 1000 # pylint:disable=protected-access self._link_properties[types.AMQPSymbol(self._timeout_symbol)] = types.AMQPLong(int(link_property_timeout_ms)) self._handler = None + self._track_last_enqueued_event_properties = track_last_enqueued_event_properties + self._last_enqueued_event_properties = {} def __iter__(self): return self @@ -101,6 +113,8 @@ def __next__(self): event_data._trace_link_message() # pylint:disable=protected-access self._offset = EventPosition(event_data.offset, inclusive=False) retried_times = 0 + if self._track_last_enqueued_event_properties: + self._last_enqueued_event_properties = event_data._get_last_enqueued_event_properties() # pylint:disable=protected-access return event_data except Exception as exception: # pylint:disable=broad-except last_exception = self._handle_exception(exception) @@ -111,17 +125,21 @@ def __next__(self): raise last_exception def _create_handler(self): - alt_creds = { - "username": self._client._auth_config.get("iot_username") if self._redirected else None, # pylint:disable=protected-access - "password": self._client._auth_config.get("iot_password") if self._redirected else None # pylint:disable=protected-access - } - source = Source(self._source) if self._offset is not None: source.set_filter(self._offset._selector()) # pylint:disable=protected-access + + if StrictVersion(uamqp.__version__) < StrictVersion("1.2.3"): # backward compatible until uamqp 1.2.3 released + desired_capabilities = {} + elif self._track_last_enqueued_event_properties: + symbol_array = [types.AMQPSymbol(self._receiver_runtime_metric_symbol)] + desired_capabilities = {"desired_capabilities": utils.data_factory(types.AMQPArray(symbol_array))} + else: + desired_capabilities = {"desired_capabilities": None} + self._handler = ReceiveClient( source, - auth=self._client._get_auth(**alt_creds), # pylint:disable=protected-access + auth=self._client._create_auth(), # pylint:disable=protected-access debug=self._client._config.network_tracing, # pylint:disable=protected-access prefetch=self._prefetch, link_properties=self._link_properties, @@ -129,28 +147,12 @@ def _create_handler(self): error_policy=self._retry_policy, keep_alive_interval=self._keep_alive, client_name=self._name, + receive_settle_mode=uamqp.constants.ReceiverSettleMode.ReceiveAndDelete, + auto_complete=False, properties=self._client._create_properties( # pylint:disable=protected-access - self._client._config.user_agent)) # pylint:disable=protected-access - self._messages_iter = None - - def _redirect(self, redirect): + self._client._config.user_agent), # pylint:disable=protected-access + **desired_capabilities) # pylint:disable=protected-access self._messages_iter = None - super(EventHubConsumer, self)._redirect(redirect) - - def _open(self): - """ - Open the EventHubConsumer using the supplied connection. - If the handler has previously been redirected, the redirect - context will be used to create a new handler before opening it. - - """ - # pylint: disable=protected-access - self._redirected = self._redirected or self._client._iothub_redirect_info - - if not self._running and self._redirected: - self._client._process_redirect_uri(self._redirected) - self._source = self._redirected.address - super(EventHubConsumer, self)._open() def _open_with_retry(self): return self._do_retryable_operation(self._open, operation_need_param=False) @@ -172,16 +174,37 @@ def _receive(self, timeout_time=None, max_batch_size=None, **kwargs): timeout=remaining_time_ms) for message in message_batch: event_data = EventData._from_message(message) # pylint:disable=protected-access - self._offset = EventPosition(event_data.offset) data_batch.append(event_data) event_data._trace_link_message() # pylint:disable=protected-access + if data_batch: + self._offset = EventPosition(data_batch[-1].offset) + + if self._track_last_enqueued_event_properties and data_batch: + self._last_enqueued_event_properties = data_batch[-1]._get_last_enqueued_event_properties() # pylint:disable=protected-access + return data_batch def _receive_with_retry(self, timeout=None, max_batch_size=None, **kwargs): return self._do_retryable_operation(self._receive, timeout=timeout, max_batch_size=max_batch_size, **kwargs) + @property + def last_enqueued_event_properties(self): + """ + The latest enqueued event information. This property will be updated each time an event is received when + the receiver is created with `track_last_enqueued_event_properties` being `True`. + The dict includes following information of the partition: + + - `sequence_number` + - `offset` + - `enqueued_time` + - `retrieval_time` + + :rtype: dict or None + """ + return self._last_enqueued_event_properties if self._track_last_enqueued_event_properties else None + @property def queue_size(self): # type:() -> int @@ -229,16 +252,11 @@ def receive(self, max_batch_size=None, timeout=None): return self._receive_with_retry(timeout=timeout, max_batch_size=max_batch_size) - def close(self, exception=None): - # type:(Exception) -> None + def close(self): # pylint:disable=useless-super-delegation + # type:() -> None """ Close down the handler. If the handler has already closed, - this will be a no op. An optional exception can be passed in to - indicate that the handler was shutdown due to error. - - :param exception: An optional exception if the handler is closing - due to an error. - :type exception: Exception + this will be a no op. Example: .. literalinclude:: ../examples/test_examples_eventhub.py @@ -249,9 +267,6 @@ def close(self, exception=None): :caption: Close down the handler. """ - if self._messages_iter: - self._messages_iter.close() - self._messages_iter = None - super(EventHubConsumer, self).close(exception) + super(EventHubConsumer, self).close() next = __next__ # for python2.7 diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/error.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/error.py index 129cf14a3842..755925bca743 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/error.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/error.py @@ -187,11 +187,6 @@ def _handle_exception(exception, closable): # pylint:disable=too-many-branches, if isinstance(exception, errors.AuthenticationException): if hasattr(closable, "_close_connection"): closable._close_connection() # pylint:disable=protected-access - elif isinstance(exception, errors.LinkRedirect): - log.info("%r link redirect received. Redirecting...", name) - redirect = exception - if hasattr(closable, "_redirect"): - closable._redirect(redirect) # pylint:disable=protected-access elif isinstance(exception, errors.LinkDetach): if hasattr(closable, "_close_handler"): closable._close_handler() # pylint:disable=protected-access diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/producer.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/producer.py index 6e562bbdf051..a7e37980dc18 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/producer.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/producer.py @@ -7,13 +7,13 @@ import uuid import logging import time -from typing import Iterable, Union +from typing import Iterable, Union, Type from uamqp import types, constants, errors # type: ignore from uamqp import SendClient # type: ignore -from azure.core.tracing import SpanKind -from azure.core.settings import settings +from azure.core.tracing import SpanKind, AbstractSpan # type: ignore +from azure.core.settings import settings # type: ignore from azure.eventhub.common import EventData, EventDataBatch from azure.eventhub.error import _error_handler, OperationTimeoutError, EventDataError @@ -82,12 +82,10 @@ def __init__(self, client, target, **kwargs): super(EventHubProducer, self).__init__() self._max_message_size_on_link = None - self._running = False self._client = client self._target = target self._partition = partition self._timeout = send_timeout - self._redirected = None self._error = None self._keep_alive = keep_alive self._auto_reconnect = auto_reconnect @@ -106,7 +104,7 @@ def __init__(self, client, target, **kwargs): def _create_handler(self): self._handler = SendClient( self._target, - auth=self._client._get_auth(), # pylint:disable=protected-access + auth=self._client._create_auth(), # pylint:disable=protected-access debug=self._client._config.network_tracing, # pylint:disable=protected-access msg_timeout=self._timeout, error_policy=self._retry_policy, @@ -115,18 +113,6 @@ def _create_handler(self): link_properties=self._link_properties, properties=self._client._create_properties(self._client._config.user_agent)) # pylint: disable=protected-access - def _open(self): - """ - Open the EventHubProducer using the supplied connection. - If the handler has previously been redirected, the redirect - context will be used to create a new handler before opening it. - - """ - if not self._running and self._redirected: - self._client._process_redirect_uri(self._redirected) # pylint: disable=protected-access - self._target = self._redirected.address - super(EventHubProducer, self)._open() - def _open_with_retry(self): return self._do_retryable_operation(self._open, operation_need_param=False) @@ -141,7 +127,7 @@ def _send_event_data(self, timeout_time=None, last_exception=None): error = OperationTimeoutError("send operation timed out") log.info("%r send operation timed out. (%r)", self._name, error) raise error - self._handler._msg_timeout = remaining_time # pylint: disable=protected-access + self._handler._msg_timeout = remaining_time * 1000 # pylint: disable=protected-access self._handler.queue_message(*self._unsent_events) self._handler.wait() self._unsent_events = self._handler.pending_messages @@ -254,23 +240,18 @@ def send(self, event_data, partition_key=None, timeout=None): wrapper_event_data.message.on_send_complete = self._on_outcome self._unsent_events = [wrapper_event_data.message] - if span_impl_type is not None: + if span_impl_type is not None and child is not None: with child: self._client._add_span_request_attributes(child) # pylint: disable=protected-access self._send_event_data_with_retry(timeout=timeout) else: self._send_event_data_with_retry(timeout=timeout) - def close(self, exception=None): # pylint:disable=useless-super-delegation - # type:(Exception) -> None + def close(self): # pylint:disable=useless-super-delegation + # type:() -> None """ Close down the handler. If the handler has already closed, - this will be a no op. An optional exception can be passed in to - indicate that the handler was shutdown due to error. - - :param exception: An optional exception if the handler is closing - due to an error. - :type exception: Exception + this will be a no op. Example: .. literalinclude:: ../examples/test_examples_eventhub.py @@ -281,4 +262,4 @@ def close(self, exception=None): # pylint:disable=useless-super-delegation :caption: Close down the handler. """ - super(EventHubProducer, self).close(exception) + super(EventHubProducer, self).close() diff --git a/sdk/eventhub/azure-eventhubs/conftest.py b/sdk/eventhub/azure-eventhubs/conftest.py index ed0212e85562..923ed270827b 100644 --- a/sdk/eventhub/azure-eventhubs/conftest.py +++ b/sdk/eventhub/azure-eventhubs/conftest.py @@ -15,8 +15,8 @@ # Ignore async tests for Python < 3.5 collect_ignore = [] if sys.version_info < (3, 5): - collect_ignore.append("tests/asynctests") - collect_ignore.append("tests/eventprocessor_tests") + collect_ignore.append("tests/livetest/asynctests") + collect_ignore.append("tests/eventprocessor") collect_ignore.append("features") collect_ignore.append("examples/async_examples") @@ -82,7 +82,7 @@ def cleanup_eventhub(eventhub_config, hub_name, client=None): client.delete_event_hub(hub_name) -@pytest.fixture() +@pytest.fixture(scope="session") def live_eventhub_config(): try: config = {} @@ -152,22 +152,6 @@ def invalid_policy(live_eventhub_config): live_eventhub_config['event_hub']) -@pytest.fixture() -def iot_connection_str(): - try: - return os.environ['IOTHUB_CONNECTION_STR'] - except KeyError: - pytest.skip("No IotHub connection string found.") - - -@pytest.fixture() -def device_id(): - try: - return os.environ['IOTHUB_DEVICE'] - except KeyError: - pytest.skip("No Iothub device ID found.") - - @pytest.fixture() def aad_credential(): try: diff --git a/sdk/eventhub/azure-eventhubs/examples/async_examples/recv_track_last_enqueued_event_info_async.py b/sdk/eventhub/azure-eventhubs/examples/async_examples/recv_track_last_enqueued_event_info_async.py new file mode 100644 index 000000000000..53d2e626a7f5 --- /dev/null +++ b/sdk/eventhub/azure-eventhubs/examples/async_examples/recv_track_last_enqueued_event_info_async.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +""" +An example to show running concurrent consumers. +""" + +import os +import time +import asyncio + +from azure.eventhub.aio import EventHubClient +from azure.eventhub import EventPosition, EventHubSharedKeyCredential + +HOSTNAME = os.environ['EVENT_HUB_HOSTNAME'] # .servicebus.windows.net +EVENT_HUB = os.environ['EVENT_HUB_NAME'] +USER = os.environ['EVENT_HUB_SAS_POLICY'] +KEY = os.environ['EVENT_HUB_SAS_KEY'] + +EVENT_POSITION = EventPosition("-1") + + +async def pump(client, partition): + consumer = client.create_consumer(consumer_group="$default", partition_id=partition, event_position=EVENT_POSITION, + prefetch=5, track_last_enqueued_event_properties=True) + async with consumer: + total = 0 + start_time = time.time() + for event_data in await consumer.receive(timeout=10): + last_offset = event_data.offset + last_sn = event_data.sequence_number + print("Received: {}, {}".format(last_offset, last_sn)) + total += 1 + end_time = time.time() + run_time = end_time - start_time + print("Consumer last enqueued event properties: {}.".format(consumer.last_enqueued_event_properties)) + print("Received {} messages in {} seconds".format(total, run_time)) + + +loop = asyncio.get_event_loop() +client = EventHubClient(host=HOSTNAME, event_hub_path=EVENT_HUB, credential=EventHubSharedKeyCredential(USER, KEY), + network_tracing=False) +tasks = [asyncio.ensure_future(pump(client, "0"))] +loop.run_until_complete(asyncio.wait(tasks)) diff --git a/sdk/eventhub/azure-eventhubs/examples/iothub_recv.py b/sdk/eventhub/azure-eventhubs/examples/iothub_recv.py deleted file mode 100644 index ecc935669d13..000000000000 --- a/sdk/eventhub/azure-eventhubs/examples/iothub_recv.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -""" -An example to show receiving events from an IoT Hub partition. -""" -import os - -from azure.eventhub import EventHubClient, EventPosition - -iot_connection_str = os.environ['IOTHUB_CONNECTION_STR'] - -client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) -consumer = client.create_consumer(consumer_group="$default", partition_id="0", event_position=EventPosition("-1"), - operation='/messages/events') - -with consumer: - received = consumer.receive(timeout=5) - print(received) diff --git a/sdk/eventhub/azure-eventhubs/examples/iothub_send.py b/sdk/eventhub/azure-eventhubs/examples/iothub_send.py deleted file mode 100644 index c2f8f3379259..000000000000 --- a/sdk/eventhub/azure-eventhubs/examples/iothub_send.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -""" -An example to show receiving events from an IoT Hub partition. -""" -import os -from azure.eventhub import EventData, EventHubClient - -iot_device_id = os.environ['IOTHUB_DEVICE'] -iot_connection_str = os.environ['IOTHUB_CONNECTION_STR'] - -client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) -producer = client.create_producer(operation='/messages/devicebound') -with producer: - producer.send(EventData(b"A single event", to_device=iot_device_id)) diff --git a/sdk/eventhub/azure-eventhubs/examples/recv_track_last_enqueued_event_info.py b/sdk/eventhub/azure-eventhubs/examples/recv_track_last_enqueued_event_info.py new file mode 100644 index 000000000000..576ef19089e6 --- /dev/null +++ b/sdk/eventhub/azure-eventhubs/examples/recv_track_last_enqueued_event_info.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +""" +An example to show receiving events from an Event Hub partition. +""" +import os +import time +from azure.eventhub import EventHubClient, EventPosition, EventHubSharedKeyCredential + +HOSTNAME = os.environ['EVENT_HUB_HOSTNAME'] # .servicebus.windows.net +EVENT_HUB = os.environ['EVENT_HUB_NAME'] + +USER = os.environ['EVENT_HUB_SAS_POLICY'] +KEY = os.environ['EVENT_HUB_SAS_KEY'] + +EVENT_POSITION = EventPosition("-1") +PARTITION = "0" + + +total = 0 +last_sn = -1 +last_offset = "-1" +client = EventHubClient(host=HOSTNAME, event_hub_path=EVENT_HUB, credential=EventHubSharedKeyCredential(USER, KEY), + network_tracing=False) + +consumer = client.create_consumer(consumer_group="$default", partition_id=PARTITION, + event_position=EVENT_POSITION, prefetch=5000, + track_last_enqueued_event_properties=True) +with consumer: + start_time = time.time() + batch = consumer.receive(timeout=5) + for event_data in batch: + last_offset = event_data.offset + last_sn = event_data.sequence_number + print("Received: {}, {}".format(last_offset, last_sn)) + print(event_data.body_as_str()) + total += 1 + batch = consumer.receive(timeout=5) + print("Consumer last enqueued event properties: {}.".format(consumer.last_enqueued_event_properties)) + print("Received {} messages in {} seconds".format(total, time.time() - start_time)) diff --git a/sdk/eventhub/azure-eventhubs/examples/test_examples_eventhub.py b/sdk/eventhub/azure-eventhubs/examples/test_examples_eventhub.py index 52145f9222f0..8ff334ef971f 100644 --- a/sdk/eventhub/azure-eventhubs/examples/test_examples_eventhub.py +++ b/sdk/eventhub/azure-eventhubs/examples/test_examples_eventhub.py @@ -27,16 +27,6 @@ def create_eventhub_client(live_eventhub_config): return client -def create_eventhub_client_from_iothub_connection_string(live_eventhub_config): - # [START create_eventhub_client_iot_connstr] - import os - from azure.eventhub import EventHubClient - - iot_connection_str = os.environ['IOTHUB_CONNECTION_STR'] - client = EventHubClient.from_connection_string(iot_connection_str) - # [END create_eventhub_client_iot_connstr] - - def test_example_eventhub_sync_send_and_receive(live_eventhub_config): # [START create_eventhub_client_connstr] import os diff --git a/sdk/eventhub/azure-eventhubs/setup.py b/sdk/eventhub/azure-eventhubs/setup.py index aae5cc60b638..7652ff91bdc7 100644 --- a/sdk/eventhub/azure-eventhubs/setup.py +++ b/sdk/eventhub/azure-eventhubs/setup.py @@ -37,7 +37,7 @@ exclude_packages = [ 'tests', - "tests.asynctests", + 'stress', 'examples', # Exclude packages that will be covered by PEP420 or nspkg 'azure', diff --git a/sdk/eventhub/azure-eventhubs/stress/azure_eventhub_stress.py b/sdk/eventhub/azure-eventhubs/stress/azure_eventhub_stress.py new file mode 100644 index 000000000000..59b8fe76fec8 --- /dev/null +++ b/sdk/eventhub/azure-eventhubs/stress/azure_eventhub_stress.py @@ -0,0 +1,266 @@ +import sys +import os +import logging +import threading +import time +import asyncio +from logging.handlers import RotatingFileHandler +from argparse import ArgumentParser +from azure.eventhub import EventHubClient, EventPosition, EventData, \ + EventHubConsumer, EventHubProducer, EventHubSharedKeyCredential, EventDataBatch +from azure.eventhub.aio import EventHubClient as EventHubClientAsync +from azure.identity import ClientSecretCredential + + +def stress_receive_sync(receiver, args, logger): + batch = receiver.receive(timeout=5) + return len(batch) + + +async def stress_receive_async(receiver, args, logger): + batch = await receiver.receive(timeout=5) + return len(batch) + + +def stress_receive_iterator_sync(receiver, args, logger): + duration = args.duration + deadline = time.time() + duration + total_count = 0 + logging_count = 0 + try: + for _ in receiver: + total_count += 1 + logging_count += 1 + if logging_count >= args.output_interval: + logger.info("Partition:%r, received:%r", receiver._partition, total_count) + logging_count -= args.output_interval + if time.time() > deadline: + break + finally: + return total_count + + +async def stress_receive_iterator_async(receiver, args, logger): + duration = args.duration + deadline = time.time() + duration + total_count = 0 + logging_count = 0 + try: + async for _ in receiver: + total_count += 1 + logging_count += 1 + if logging_count >= args.output_interval: + logger.info("Partition:%r, received:%r", receiver._partition, total_count) + logging_count -= args.output_interval + if time.time() > deadline: + break + finally: + return total_count + + +def stress_send_sync(producer: EventHubProducer, args, logger): + batch = producer.create_batch() + try: + while True: + event_data = EventData(body=b"D" * args.payload) + batch.try_add(event_data) + except ValueError: + producer.send(batch) + return len(batch) + + +async def stress_send_async(producer, args, logger): + batch = await producer.create_batch() + try: + while True: + event_data = EventData(body=b"D" * args.payload) + batch.try_add(event_data) + except ValueError: + await producer.send(batch) + return len(batch) + + +def get_logger(filename, method_name, level=logging.INFO, print_console=False): + stress_logger = logging.getLogger(method_name) + stress_logger.setLevel(level) + azure_logger = logging.getLogger("azure.eventhub") + azure_logger.setLevel(level) + uamqp_logger = logging.getLogger("uamqp") + uamqp_logger.setLevel(level) + + formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s') + if print_console: + console_handler = logging.StreamHandler(stream=sys.stdout) + console_handler.setFormatter(formatter) + if not azure_logger.handlers: + azure_logger.addHandler(console_handler) + if not uamqp_logger.handlers: + uamqp_logger.addHandler(console_handler) + if not stress_logger.handlers: + stress_logger.addHandler(console_handler) + + if filename: + file_handler = RotatingFileHandler(filename, maxBytes=20*1024*1024, backupCount=3) + file_handler.setFormatter(formatter) + azure_logger.addHandler(file_handler) + uamqp_logger.addHandler(file_handler) + stress_logger.addHandler(file_handler) + + return stress_logger + + +class StressTestRunner(object): + def __init__(self, argument_parser): + self.argument_parser = argument_parser + self.argument_parser.add_argument("-m", "--method", required=True) + self.argument_parser.add_argument("--output_interval", type=float, default=1000) + self.argument_parser.add_argument("--duration", help="Duration in seconds of the test", type=int, default=30) + self.argument_parser.add_argument("--consumer", help="Consumer group name", default="$default") + self.argument_parser.add_argument("--offset", help="Starting offset", default="-1") + self.argument_parser.add_argument("-p", "--partitions", help="Comma seperated partition IDs", default="0") + self.argument_parser.add_argument("--conn-str", help="EventHub connection string", + default=os.environ.get('EVENT_HUB_PERF_CONN_STR')) + self.argument_parser.add_argument("--eventhub", help="Name of EventHub") + self.argument_parser.add_argument("--address", help="Address URI to the EventHub entity") + self.argument_parser.add_argument("--sas-policy", help="Name of the shared access policy to authenticate with") + self.argument_parser.add_argument("--sas-key", help="Shared access key") + self.argument_parser.add_argument("--aad_client_id", help="AAD client id") + self.argument_parser.add_argument("--aad_secret", help="AAD secret") + self.argument_parser.add_argument("--aad_tenant_id", help="AAD tenant id") + self.argument_parser.add_argument("--payload", help="payload size", type=int, default=1024) + self.argument_parser.add_argument("--print_console", help="print to console", type=bool, default=False) + self.args, _ = parser.parse_known_args() + + self.running = False + + def create_client(self, client_class): + if self.args.conn_str: + client = client_class.from_connection_string( + self.args.conn_str, + event_hub_path=self.args.eventhub, network_tracing=False) + elif self.args.address: + client = client_class(host=self.args.address, + event_hub_path=self.args.eventhub, + credential=EventHubSharedKeyCredential(self.args.sas_policy, self.args.sas_key), + auth_timeout=240, + network_tracing=False) + elif self.args.aad_client_id: + client = client_class(host=self.args.address, + event_hub_path=self.args.eventhub, + credential=ClientSecretCredential( + self.args.aad_client_id, self.args.aad_secret, self.args.tenant_id + ), + network_tracing=False) + else: + raise ValueError("Argument error. Must have one of connection string, sas and aad credentials") + + return client + + def run(self): + method_name = self.args.method + if "async" in method_name: + loop = asyncio.get_event_loop() + loop.run_until_complete(self.run_async()) + else: + self.run_sync() + + def run_sync(self): + method_name = self.args.method + logger = get_logger("{}.log".format(method_name), method_name, + level=logging.INFO, print_console=self.args.print_console) + test_method = globals()[method_name] + client = self.create_client(EventHubClient) + self.running = True + if self.args.partitions.lower() != "all": + partitions = self.args.partitions.split(",") + else: + partitions = client.get_partition_ids() + threads = [] + for pid in partitions: + if "receive" in method_name: + worker = client.create_consumer(consumer_group=self.args.consumer, + partition_id=pid, + event_position=EventPosition(self.args.offset), + prefetch=300) + else: # "send" in method_name + worker = client.create_producer(partition_id=pid) + thread = threading.Thread(target=self.run_test_method, args=(test_method, worker, logger)) + thread.start() + threads.append(thread) + for thread in threads: + thread.join() + + def stop(self): + self.running = False + + def run_test_method(self, test_method, worker, logger): + deadline = time.time() + self.args.duration + with worker: + total_processed = 0 + iter_processed = 0 + while self.running and time.time() < deadline: + try: + processed = test_method(worker, self.args, logger) + total_processed += processed + iter_processed += processed + if iter_processed >= self.args.output_interval: + logger.info("Partition:%r, Total processed: %r", worker._partition, total_processed) + iter_processed -= self.args.output_interval + except KeyboardInterrupt: + logger.info("Partition:%r, keyboard interrupted", worker._partition) + self.stop() + except Exception as e: + logger.exception("Partition:%r, %r failed:", worker._partition, type(worker)) + self.stop() + logger.info("Partition:%r, %r has finished testing", worker._partition, test_method) + + async def run_async(self): + method_name = self.args.method + logger = get_logger("{}.log".format(method_name), method_name, + level=logging.INFO, print_console=self.args.print_console) + test_method = globals()[method_name] + client = self.create_client(EventHubClientAsync) + self.running = True + if self.args.partitions.lower() != "all": + partitions = self.args.partitions.split(",") + else: + partitions = await client.get_partition_ids() + tasks = [] + for pid in partitions: + if "receive" in method_name: + worker = client.create_consumer(consumer_group=self.args.consumer, + partition_id=pid, + event_position=EventPosition(self.args.offset), + prefetch=300) + else: # "send" in method_name + worker = client.create_producer(partition_id=pid) + task = self.run_test_method_async(test_method, worker, logger) + tasks.append(task) + await asyncio.gather(*tasks) + + async def run_test_method_async(self, test_method, worker, logger): + deadline = time.time() + self.args.duration + async with worker: + total_processed = 0 + iter_processed = 0 + while self.running and time.time() < deadline: + try: + processed = await test_method(worker, self.args, logger) + total_processed += processed + iter_processed += processed + if iter_processed >= self.args.output_interval: + logger.info("Partition:%r, Total processed: %r", worker._partition, total_processed) + iter_processed -= self.args.output_interval + except KeyboardInterrupt: + logger.info("Partition:%r, keyboard interrupted", worker._partition) + self.stop() + except Exception as e: + logger.exception("Partition:%r, %r failed:", worker._partition, type(worker)) + self.stop() + logger.info("Partition:%r, %r has finished testing", worker._partition, test_method) + + +if __name__ == '__main__': + parser = ArgumentParser() + runner = StressTestRunner(parser) + runner.run() diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_iothub_receive_async.py b/sdk/eventhub/azure-eventhubs/tests/asynctests/test_iothub_receive_async.py deleted file mode 100644 index 4ac63eef5d7f..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_iothub_receive_async.py +++ /dev/null @@ -1,85 +0,0 @@ -#------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -#-------------------------------------------------------------------------- - -import asyncio -import pytest - -from azure.eventhub.aio import EventHubClient -from azure.eventhub import EventPosition - - -async def pump(receiver, sleep=None): - messages = 0 - if sleep: - await asyncio.sleep(sleep) - async with receiver: - batch = await receiver.receive(timeout=10) - messages += len(batch) - return messages - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_iothub_receive_multiple_async(iot_connection_str): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partitions = await client.get_partition_ids() - receivers = [] - for p in partitions: - receivers.append(client.create_consumer(consumer_group="$default", partition_id=p, event_position=EventPosition("-1"), prefetch=10, operation='/messages/events')) - outputs = await asyncio.gather(*[pump(r) for r in receivers]) - - assert isinstance(outputs[0], int) and outputs[0] <= 10 - assert isinstance(outputs[1], int) and outputs[1] <= 10 - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_iothub_get_properties_async(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - properties = await client.get_properties() - assert properties["partition_ids"] == ["0", "1", "2", "3"] - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_iothub_get_partition_ids_async(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partitions = await client.get_partition_ids() - assert partitions == ["0", "1", "2", "3"] - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_iothub_get_partition_properties_async(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partition_properties = await client.get_partition_properties("0") - assert partition_properties["id"] == "0" - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_iothub_receive_after_mgmt_ops_async(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partitions = await client.get_partition_ids() - assert partitions == ["0", "1", "2", "3"] - receiver = client.create_consumer(consumer_group="$default", partition_id=partitions[0], event_position=EventPosition("-1"), operation='/messages/events') - async with receiver: - received = await receiver.receive(timeout=10) - assert len(received) == 0 - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_iothub_mgmt_ops_after_receive_async(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - receiver = client.create_consumer(consumer_group="$default", partition_id="0", event_position=EventPosition("-1"), operation='/messages/events') - async with receiver: - received = await receiver.receive(timeout=10) - assert len(received) == 0 - - partitions = await client.get_partition_ids() - assert partitions == ["0", "1", "2", "3"] - diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_long_running_eventprocessor.py b/sdk/eventhub/azure-eventhubs/tests/asynctests/test_long_running_eventprocessor.py deleted file mode 100644 index 1e3cae9eefa7..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_long_running_eventprocessor.py +++ /dev/null @@ -1,156 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# ----------------------------------------------------------------------------------- - -import logging -import asyncio -import sys -import os -import argparse -import time -import pytest -from logging.handlers import RotatingFileHandler - -from azure.eventhub.aio import EventHubClient -from azure.eventhub.aio.eventprocessor import EventProcessor, PartitionProcessor, SamplePartitionManager -from azure.eventhub import EventData - - -def get_logger(filename, level=logging.INFO): - azure_logger = logging.getLogger("azure.eventhub.eventprocessor") - azure_logger.setLevel(level) - uamqp_logger = logging.getLogger("uamqp") - uamqp_logger.setLevel(logging.INFO) - - formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s') - console_handler = logging.StreamHandler(stream=sys.stdout) - console_handler.setFormatter(formatter) - if not azure_logger.handlers: - azure_logger.addHandler(console_handler) - if not uamqp_logger.handlers: - uamqp_logger.addHandler(console_handler) - - if filename: - file_handler = RotatingFileHandler(filename, maxBytes=20*1024*1024, backupCount=3) - file_handler.setFormatter(formatter) - azure_logger.addHandler(file_handler) - uamqp_logger.addHandler(file_handler) - - return azure_logger - - -logger = get_logger("eph_test_async.log", logging.INFO) - - -class MyEventProcessor(PartitionProcessor): - async def close(self, reason, partition_context): - logger.info("PartitionProcessor closed (reason {}, id {})".format( - reason, - partition_context.partition_id - )) - - async def process_events(self, events, partition_context): - if events: - event = events[-1] - print("Processing id {}, offset {}, sq_number {})".format( - partition_context.partition_id, - event.offset, - event.sequence_number)) - await partition_context.update_checkpoint(event.offset, event.sequence_number) - - async def process_error(self, error, partition_context): - logger.info("Event Processor Error for partition {}, {!r}".format(partition_context.partition_id, error)) - - -async def wait_and_close(host, duration): - """ - Run EventProcessorHost for 30 seconds then shutdown. - """ - await asyncio.sleep(duration) - await host.stop() - - -async def pump(pid, sender, duration): - deadline = time.time() + duration - total = 0 - - try: - async with sender: - event_list = [] - while time.time() < deadline: - data = EventData(body=b"D" * 512) - event_list.append(data) - total += 1 - if total % 100 == 0: - await sender.send(event_list) - event_list = [] - logger.info("{}: Send total {}".format(pid, total)) - except Exception as err: - logger.error("{}: Send failed {}".format(pid, err)) - raise - print("{}: Final Sent total {}".format(pid, total)) - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_long_running_eph(live_eventhub): - parser = argparse.ArgumentParser() - parser.add_argument("--duration", help="Duration in seconds of the test", type=int, default=30) - parser.add_argument("--container", help="Lease container name", default="nocontextleases") - parser.add_argument("--eventhub", help="Name of EventHub", default=live_eventhub['event_hub']) - parser.add_argument("--namespace", help="Namespace of EventHub", default=live_eventhub['namespace']) - parser.add_argument("--suffix", help="Namespace of EventHub", default="servicebus.windows.net") - parser.add_argument("--sas-policy", help="Name of the shared access policy to authenticate with", default=live_eventhub['key_name']) - parser.add_argument("--sas-key", help="Shared access key", default=live_eventhub['access_key']) - - loop = asyncio.get_event_loop() - args, _ = parser.parse_known_args() - if not args.namespace or not args.eventhub: - try: - import pytest - pytest.skip("Must specify '--namespace' and '--eventhub'") - except ImportError: - raise ValueError("Must specify '--namespace' and '--eventhub'") - - # Queue up some events in the Eventhub - conn_str = "Endpoint=sb://{}/;SharedAccessKeyName={};SharedAccessKey={};EntityPath={}".format( - live_eventhub['hostname'], - live_eventhub['key_name'], - live_eventhub['access_key'], - live_eventhub['event_hub']) - client = EventHubClient.from_connection_string(conn_str) - pumps = [] - for pid in ["0", "1"]: - sender = client.create_producer(partition_id=pid, send_timeout=0) - pumps.append(pump(pid, sender, 15)) - results = await asyncio.gather(*pumps, return_exceptions=True) - - assert not any(results) - - # Event loop and host - host = EventProcessor( - client, - live_eventhub['consumer_group'], - MyEventProcessor, - SamplePartitionManager() - ) - - tasks = asyncio.gather( - host.start(), - wait_and_close(host, args.duration), return_exceptions=True) - results = await tasks - assert not any(results) - - -if __name__ == '__main__': - config = {} - config['hostname'] = os.environ['EVENT_HUB_HOSTNAME'] - config['event_hub'] = os.environ['EVENT_HUB_NAME'] - config['key_name'] = os.environ['EVENT_HUB_SAS_POLICY'] - config['access_key'] = os.environ['EVENT_HUB_SAS_KEY'] - config['namespace'] = os.environ['EVENT_HUB_NAMESPACE'] - config['consumer_group'] = "$Default" - config['partition'] = "0" - loop = asyncio.get_event_loop() - loop.run_until_complete(test_long_running_eph(config)) diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_receive_async.py b/sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_receive_async.py deleted file mode 100644 index 50ababacf738..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_receive_async.py +++ /dev/null @@ -1,131 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -""" -receive test. -""" - -import logging -import asyncio -import argparse -import time -import os -import sys -import pytest -from logging.handlers import RotatingFileHandler - -from azure.eventhub import EventPosition, EventHubSharedKeyCredential -from azure.eventhub.aio import EventHubClient - - -def get_logger(filename, level=logging.INFO): - azure_logger = logging.getLogger("azure.eventhub") - azure_logger.setLevel(level) - uamqp_logger = logging.getLogger("uamqp") - uamqp_logger.setLevel(logging.INFO) - - formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s') - console_handler = logging.StreamHandler(stream=sys.stdout) - console_handler.setFormatter(formatter) - if not azure_logger.handlers: - azure_logger.addHandler(console_handler) - if not uamqp_logger.handlers: - uamqp_logger.addHandler(console_handler) - - if filename: - file_handler = RotatingFileHandler(filename, maxBytes=20*1024*1024, backupCount=3) - file_handler.setFormatter(formatter) - azure_logger.addHandler(file_handler) - uamqp_logger.addHandler(file_handler) - - return azure_logger - - -logger = get_logger("recv_test_async.log", logging.INFO) - - -async def pump(_pid, receiver, _args, _dl): - total = 0 - iteration = 0 - deadline = time.time() + _dl - - try: - async with receiver: - while time.time() < deadline: - batch = await receiver.receive(timeout=3) - size = len(batch) - total += size - iteration += 1 - if size == 0: - print("{}: No events received, queue size {}, delivered {}".format( - _pid, - receiver.queue_size, - total)) - elif iteration >= 5: - iteration = 0 - print("{}: total received {}, last sn={}, last offset={}".format( - _pid, - total, - batch[-1].sequence_number, - batch[-1].offset)) - print("{}: Total received {}".format(receiver._partition, total)) - except Exception as e: - print("Partition {} receiver failed: {}".format(_pid, e)) - raise - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_long_running_receive_async(connection_str): - parser = argparse.ArgumentParser() - parser.add_argument("--duration", help="Duration in seconds of the test", type=int, default=30) - parser.add_argument("--consumer", help="Consumer group name", default="$default") - parser.add_argument("--partitions", help="Comma seperated partition IDs") - parser.add_argument("--offset", help="Starting offset", default="-1") - parser.add_argument("--conn-str", help="EventHub connection string", default=connection_str) - parser.add_argument("--eventhub", help="Name of EventHub") - parser.add_argument("--address", help="Address URI to the EventHub entity") - parser.add_argument("--sas-policy", help="Name of the shared access policy to authenticate with") - parser.add_argument("--sas-key", help="Shared access key") - - loop = asyncio.get_event_loop() - args, _ = parser.parse_known_args() - if args.conn_str: - client = EventHubClient.from_connection_string( - args.conn_str, - event_hub_path=args.eventhub, auth_timeout=240, network_tracing=False) - elif args.address: - client = EventHubClient(host=args.address, - event_hub_path=args.eventhub, - credential=EventHubSharedKeyCredential(args.sas_policy, args.sas_key), - auth_timeout=240, - network_tracing=False) - - else: - try: - import pytest - pytest.skip("Must specify either '--conn-str' or '--address'") - except ImportError: - raise ValueError("Must specify either '--conn-str' or '--address'") - - if not args.partitions: - partitions = await client.get_partition_ids() - else: - partitions = args.partitions.split(",") - pumps = [] - for pid in partitions: - receiver = client.create_consumer(consumer_group="$default", - partition_id=pid, - event_position=EventPosition(args.offset), - prefetch=300, - loop=loop) - pumps.append(pump(pid, receiver, args, args.duration)) - await asyncio.gather(*pumps) - - -if __name__ == '__main__': - asyncio.run(test_long_running_receive_async(os.environ.get('EVENT_HUB_PERF_CONN_STR'))) diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_send_async.py b/sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_send_async.py deleted file mode 100644 index 00279d168d70..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_longrunning_send_async.py +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/env python - -""" -send test -""" - -import logging -import argparse -import time -import os -import asyncio -import sys -import pytest -from logging.handlers import RotatingFileHandler - -from azure.eventhub import EventData, EventHubSharedKeyCredential -from azure.eventhub.aio import EventHubClient - - -def get_logger(filename, level=logging.INFO): - azure_logger = logging.getLogger("azure.eventhub") - azure_logger.setLevel(level) - uamqp_logger = logging.getLogger("uamqp") - uamqp_logger.setLevel(logging.INFO) - - formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s') - console_handler = logging.StreamHandler(stream=sys.stdout) - console_handler.setFormatter(formatter) - if not azure_logger.handlers: - azure_logger.addHandler(console_handler) - if not uamqp_logger.handlers: - uamqp_logger.addHandler(console_handler) - - if filename: - file_handler = RotatingFileHandler(filename, maxBytes=20*1024*1024, backupCount=3) - file_handler.setFormatter(formatter) - azure_logger.addHandler(file_handler) - uamqp_logger.addHandler(file_handler) - - return azure_logger - - -logger = get_logger("send_test_async.log", logging.INFO) - - -async def get_partitions(args): - eh_data = await args.get_properties() - return eh_data["partition_ids"] - - -async def pump(pid, sender, args, duration): - deadline = time.time() + duration - total = 0 - - try: - async with sender: - event_list = [] - while time.time() < deadline: - data = EventData(body=b"D" * args.payload) - event_list.append(data) - total += 1 - if total % 100 == 0: - await sender.send(event_list) - event_list = [] - logger.info("{}: Send total {}".format(pid, total)) - except Exception as err: - logger.error("{}: Send failed {}".format(pid, err)) - raise - print("{}: Final Sent total {}".format(pid, total)) - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_long_running_partition_send_async(connection_str): - parser = argparse.ArgumentParser() - parser.add_argument("--duration", help="Duration in seconds of the test", type=int, default=30) - parser.add_argument("--payload", help="payload size", type=int, default=1024) - parser.add_argument("--partitions", help="Comma separated partition IDs") - parser.add_argument("--conn-str", help="EventHub connection string", default=connection_str) - parser.add_argument("--eventhub", help="Name of EventHub") - parser.add_argument("--address", help="Address URI to the EventHub entity") - parser.add_argument("--sas-policy", help="Name of the shared access policy to authenticate with") - parser.add_argument("--sas-key", help="Shared access key") - parser.add_argument("--logger-name", help="Unique log file ID") - - loop = asyncio.get_event_loop() - args, _ = parser.parse_known_args() - - if args.conn_str: - client = EventHubClient.from_connection_string( - args.conn_str, - event_hub_path=args.eventhub, network_tracing=False) - elif args.address: - client = EventHubClient(host=args.address, - event_hub_path=args.eventhub, - credential=EventHubSharedKeyCredential(args.sas_policy, args.sas_key), - network_tracing=False) - else: - try: - import pytest - pytest.skip("Must specify either '--conn-str' or '--address'") - except ImportError: - raise ValueError("Must specify either '--conn-str' or '--address'") - - try: - if not args.partitions: - partitions = await client.get_partition_ids() - else: - pid_range = args.partitions.split("-") - if len(pid_range) > 1: - partitions = [str(i) for i in range(int(pid_range[0]), int(pid_range[1]) + 1)] - else: - partitions = args.partitions.split(",") - pumps = [] - for pid in partitions: - sender = client.create_producer(partition_id=pid, send_timeout=0) - pumps.append(pump(pid, sender, args, args.duration)) - results = await asyncio.gather(*pumps, return_exceptions=True) - assert not results - except Exception as e: - logger.error("EventHubProducer failed: {}".format(e)) - - -if __name__ == '__main__': - asyncio.run(test_long_running_partition_send_async(os.environ.get('EVENT_HUB_PERF_CONN_STR'))) diff --git a/sdk/eventhub/azure-eventhubs/tests/eventprocessor_tests/test_eventprocessor.py b/sdk/eventhub/azure-eventhubs/tests/eventprocessor/test_eventprocessor.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/eventprocessor_tests/test_eventprocessor.py rename to sdk/eventhub/azure-eventhubs/tests/eventprocessor/test_eventprocessor.py diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_auth_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_auth_async.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_auth_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_auth_async.py diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_negative_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_negative_async.py similarity index 94% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_negative_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_negative_async.py index 4406da855f59..b7d7142a6f51 100644 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_negative_async.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_negative_async.py @@ -218,19 +218,6 @@ async def test_create_batch_with_invalid_hostname_async(invalid_hostname): await sender.close() -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_create_batch_with_none_async(connection_str): - client = EventHubClient.from_connection_string(connection_str, network_tracing=False) - sender = client.create_producer() - batch_event_data = await sender.create_batch(max_size=300, partition_key="key") - try: - with pytest.raises(ValueError): - batch_event_data.try_add(EventData(None)) - finally: - await sender.close() - - @pytest.mark.liveTest @pytest.mark.asyncio async def test_create_batch_with_too_large_size_async(connection_str): diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_properties_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_properties_async.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_properties_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_properties_async.py diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_receive_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_receive_async.py similarity index 87% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_receive_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_receive_async.py index 2a2e4836c2d5..55e2fa60ff91 100644 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_receive_async.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_receive_async.py @@ -156,6 +156,12 @@ async def test_receive_batch_async(connstr_senders): received = await receiver.receive(max_batch_size=5, timeout=5) assert len(received) == 5 + for event in received: + assert event.system_properties + assert event.sequence_number is not None + assert event.offset + assert event.enqueued_time + async def pump(receiver, sleep=None): messages = 0 @@ -314,3 +320,38 @@ async def test_receive_over_websocket_async(connstr_senders): received = await receiver.receive(max_batch_size=50, timeout=5) assert len(received) == 20 + + +@pytest.mark.asyncio +@pytest.mark.liveTest +async def test_receive_run_time_metric_async(connstr_senders): + from uamqp import __version__ as uamqp_version + from distutils.version import StrictVersion + if StrictVersion(uamqp_version) < StrictVersion('1.2.3'): + pytest.skip("Disabled for uamqp 1.2.2. Will enable after uamqp 1.2.3 is released.") + connection_str, senders = connstr_senders + client = EventHubClient.from_connection_string(connection_str, transport_type=TransportType.AmqpOverWebsocket, + network_tracing=False) + receiver = client.create_consumer(consumer_group="$default", partition_id="0", + event_position=EventPosition('@latest'), prefetch=500, + track_last_enqueued_event_properties=True) + + event_list = [] + for i in range(20): + event_list.append(EventData("Event Number {}".format(i))) + + async with receiver: + received = await receiver.receive(timeout=5) + assert len(received) == 0 + + senders[0].send(event_list) + + await asyncio.sleep(1) + + received = await receiver.receive(max_batch_size=50, timeout=5) + assert len(received) == 20 + assert receiver.last_enqueued_event_properties + assert receiver.last_enqueued_event_properties.get('sequence_number', None) + assert receiver.last_enqueued_event_properties.get('offset', None) + assert receiver.last_enqueued_event_properties.get('enqueued_time', None) + assert receiver.last_enqueued_event_properties.get('retrieval_time', None) diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_receiver_iterator_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_receiver_iterator_async.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_receiver_iterator_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_receiver_iterator_async.py diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_reconnect_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_reconnect_async.py similarity index 50% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_reconnect_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_reconnect_async.py index 05be713e2d8c..24258bc532ae 100644 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_reconnect_async.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_reconnect_async.py @@ -40,47 +40,3 @@ async def test_send_with_long_interval_async(connstr_receivers, sleep): received.extend(r.receive(timeout=5)) assert len(received) == 2 assert list(received[0].body)[0] == b"A single event" - - -def pump(receiver): - messages = [] - with receiver: - batch = receiver.receive(timeout=1) - messages.extend(batch) - while batch: - batch = receiver.receive(timeout=1) - messages.extend(batch) - return messages - - -@pytest.mark.liveTest -@pytest.mark.asyncio -async def test_send_with_forced_conn_close_async(connstr_receivers, sleep): - pytest.skip("This test is similar to the above one") - connection_str, receivers = connstr_receivers - client = EventHubClient.from_connection_string(connection_str, network_tracing=False) - sender = client.create_producer() - try: - await sender.send(EventData(b"A single event")) - if sleep: - await asyncio.sleep(300) - else: - sender._handler._connection._conn.destroy() - await sender.send(EventData(b"A single event")) - await sender.send(EventData(b"A single event")) - if sleep: - await asyncio.sleep(300) - else: - sender._handler._connection._conn.destroy() - await sender.send(EventData(b"A single event")) - await sender.send(EventData(b"A single event")) - finally: - await sender.close() - - received = [] - for r in receivers: - if not sleep: - r._handler._connection._conn.destroy() - received.extend(pump(r)) - assert len(received) == 5 - assert list(received[0].body)[0] == b"A single event" diff --git a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_send_async.py b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_send_async.py similarity index 97% rename from sdk/eventhub/azure-eventhubs/tests/asynctests/test_send_async.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_send_async.py index aa301bad3119..306e547ac439 100644 --- a/sdk/eventhub/azure-eventhubs/tests/asynctests/test_send_async.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/asynctests/test_send_async.py @@ -255,6 +255,15 @@ async def test_send_with_create_event_batch_async(connstr_receivers): client = EventHubClient.from_connection_string(connection_str, transport_type=TransportType.AmqpOverWebsocket, network_tracing=False) sender = client.create_producer() + event_data_batch = await sender.create_batch(max_size=100000, partition_key="0") + while True: + try: + event_data_batch.try_add(EventData('A single event data')) + except ValueError: + break + + await sender.send(event_data_batch) + event_data_batch = await sender.create_batch(max_size=100000) while True: try: diff --git a/sdk/eventhub/azure-eventhubs/tests/test_auth.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_auth.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/test_auth.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_auth.py diff --git a/sdk/eventhub/azure-eventhubs/tests/test_negative.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_negative.py similarity index 92% rename from sdk/eventhub/azure-eventhubs/tests/test_negative.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_negative.py index e9d3a9e17f8e..a08751e4f606 100644 --- a/sdk/eventhub/azure-eventhubs/tests/test_negative.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_negative.py @@ -21,8 +21,7 @@ @pytest.mark.liveTest -def test_send_with_invalid_hostname(invalid_hostname, connstr_receivers): - _, receivers = connstr_receivers +def test_send_with_invalid_hostname(invalid_hostname): client = EventHubClient.from_connection_string(invalid_hostname, network_tracing=False) sender = client.create_producer() with pytest.raises(AuthenticationError): @@ -40,8 +39,7 @@ def test_receive_with_invalid_hostname_sync(invalid_hostname): @pytest.mark.liveTest -def test_send_with_invalid_key(invalid_key, connstr_receivers): - _, receivers = connstr_receivers +def test_send_with_invalid_key(invalid_key): client = EventHubClient.from_connection_string(invalid_key, network_tracing=False) sender = client.create_producer() with pytest.raises(AuthenticationError): @@ -60,8 +58,7 @@ def test_receive_with_invalid_key_sync(invalid_key): @pytest.mark.liveTest -def test_send_with_invalid_policy(invalid_policy, connstr_receivers): - _, receivers = connstr_receivers +def test_send_with_invalid_policy(invalid_policy): client = EventHubClient.from_connection_string(invalid_policy, network_tracing=False) sender = client.create_producer() with pytest.raises(AuthenticationError): @@ -226,16 +223,6 @@ def test_create_batch_with_invalid_hostname_sync(invalid_hostname): sender.close() -@pytest.mark.liveTest -def test_create_batch_with_none_sync(connection_str): - client = EventHubClient.from_connection_string(connection_str, network_tracing=False) - sender = client.create_producer() - batch_event_data = sender.create_batch(max_size=300, partition_key="key") - with pytest.raises(ValueError): - batch_event_data.try_add(EventData(None)) - sender.close() - - @pytest.mark.liveTest def test_create_batch_with_too_large_size_sync(connection_str): client = EventHubClient.from_connection_string(connection_str, network_tracing=False) diff --git a/sdk/eventhub/azure-eventhubs/tests/test_properties.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_properties.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/test_properties.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_properties.py diff --git a/sdk/eventhub/azure-eventhubs/tests/test_receive.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_receive.py similarity index 86% rename from sdk/eventhub/azure-eventhubs/tests/test_receive.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_receive.py index d241a8e6e585..9bd1ea38ee03 100644 --- a/sdk/eventhub/azure-eventhubs/tests/test_receive.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_receive.py @@ -214,6 +214,12 @@ def test_receive_batch(connstr_senders): received = receiver.receive(max_batch_size=5, timeout=5) assert len(received) == 5 + for event in received: + assert event.system_properties + assert event.sequence_number is not None + assert event.offset + assert event.enqueued_time + @pytest.mark.liveTest def test_receive_batch_with_app_prop_sync(connstr_senders): @@ -272,3 +278,37 @@ def test_receive_over_websocket_sync(connstr_senders): received = receiver.receive(max_batch_size=50, timeout=5) assert len(received) == 20 + + +@pytest.mark.liveTest +def test_receive_run_time_metric(connstr_senders): + from uamqp import __version__ as uamqp_version + from distutils.version import StrictVersion + if StrictVersion(uamqp_version) < StrictVersion('1.2.3'): + pytest.skip("Disabled for uamqp 1.2.2. Will enable after uamqp 1.2.3 is released.") + connection_str, senders = connstr_senders + client = EventHubClient.from_connection_string(connection_str, transport_type=TransportType.AmqpOverWebsocket, + network_tracing=False) + receiver = client.create_consumer(consumer_group="$default", partition_id="0", + event_position=EventPosition('@latest'), prefetch=500, + track_last_enqueued_event_properties=True) + + event_list = [] + for i in range(20): + event_list.append(EventData("Event Number {}".format(i))) + + with receiver: + received = receiver.receive(timeout=5) + assert len(received) == 0 + + senders[0].send(event_list) + + time.sleep(1) + + received = receiver.receive(max_batch_size=50, timeout=5) + assert len(received) == 20 + assert receiver.last_enqueued_event_properties + assert receiver.last_enqueued_event_properties.get('sequence_number', None) + assert receiver.last_enqueued_event_properties.get('offset', None) + assert receiver.last_enqueued_event_properties.get('enqueued_time', None) + assert receiver.last_enqueued_event_properties.get('retrieval_time', None) diff --git a/sdk/eventhub/azure-eventhubs/tests/test_receiver_iterator.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_receiver_iterator.py similarity index 100% rename from sdk/eventhub/azure-eventhubs/tests/test_receiver_iterator.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_receiver_iterator.py diff --git a/sdk/eventhub/azure-eventhubs/tests/test_reconnect.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_reconnect.py similarity index 52% rename from sdk/eventhub/azure-eventhubs/tests/test_reconnect.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_reconnect.py index 0796cee2178d..d9a76238acea 100644 --- a/sdk/eventhub/azure-eventhubs/tests/test_reconnect.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_reconnect.py @@ -36,34 +36,3 @@ def test_send_with_long_interval_sync(connstr_receivers, sleep): assert len(received) == 2 assert list(received[0].body)[0] == b"A single event" - - -@pytest.mark.liveTest -def test_send_with_forced_conn_close_sync(connstr_receivers, sleep): - pytest.skip("This test is similar to the above one") - connection_str, receivers = connstr_receivers - client = EventHubClient.from_connection_string(connection_str, network_tracing=False) - sender = client.create_producer() - with sender: - sender.send(EventData(b"A single event")) - sender._handler._connection._conn.destroy() - if sleep: - time.sleep(300) - else: - sender._handler._connection._conn.destroy() - sender.send(EventData(b"A single event")) - sender.send(EventData(b"A single event")) - if sleep: - time.sleep(300) - else: - sender._handler._connection._conn.destroy() - sender.send(EventData(b"A single event")) - sender.send(EventData(b"A single event")) - - received = [] - for r in receivers: - if not sleep: - r._handler._connection._conn.destroy() - received.extend(r.receive(timeout=1)) - assert len(received) == 5 - assert list(received[0].body)[0] == b"A single event" diff --git a/sdk/eventhub/azure-eventhubs/tests/test_send.py b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_send.py similarity index 96% rename from sdk/eventhub/azure-eventhubs/tests/test_send.py rename to sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_send.py index 1c34c672d99f..9346932b6115 100644 --- a/sdk/eventhub/azure-eventhubs/tests/test_send.py +++ b/sdk/eventhub/azure-eventhubs/tests/livetest/synctests/test_send.py @@ -52,7 +52,7 @@ def test_send_and_receive_large_body_size(connstr_receivers): received = [] for r in receivers: - received.extend(r.receive(timeout=4)) + received.extend(r.receive(timeout=10)) assert len(received) == 1 assert len(list(received[0].body)[0]) == payload @@ -257,6 +257,15 @@ def test_send_with_create_event_batch_sync(connstr_receivers): client = EventHubClient.from_connection_string(connection_str, transport_type=TransportType.AmqpOverWebsocket, network_tracing=False) sender = client.create_producer() + event_data_batch = sender.create_batch(max_size=100000, partition_key="0") + while True: + try: + event_data_batch.try_add(EventData('A single event data')) + except ValueError: + break + + sender.send(event_data_batch) + event_data_batch = sender.create_batch(max_size=100000) while True: try: diff --git a/sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py b/sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py deleted file mode 100644 index 595c822b9cb7..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/test_iothub_receive.py +++ /dev/null @@ -1,64 +0,0 @@ -#------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -#-------------------------------------------------------------------------- - -import pytest - -from azure.eventhub import EventPosition, EventHubClient - - -@pytest.mark.liveTest -def test_iothub_receive_sync(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - receiver = client.create_consumer(consumer_group="$default", partition_id="0", event_position=EventPosition("-1"), operation='/messages/events') - try: - received = receiver.receive(timeout=10) - assert len(received) == 0 - finally: - receiver.close() - - -@pytest.mark.liveTest -def test_iothub_get_properties_sync(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - properties = client.get_properties() - assert properties["partition_ids"] == ["0", "1", "2", "3"] - - -@pytest.mark.liveTest -def test_iothub_get_partition_ids_sync(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partitions = client.get_partition_ids() - assert partitions == ["0", "1", "2", "3"] - - -@pytest.mark.liveTest -def test_iothub_get_partition_properties_sync(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partition_properties = client.get_partition_properties("0") - assert partition_properties["id"] == "0" - - -@pytest.mark.liveTest -def test_iothub_receive_after_mgmt_ops_sync(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - partitions = client.get_partition_ids() - assert partitions == ["0", "1", "2", "3"] - receiver = client.create_consumer(consumer_group="$default", partition_id=partitions[0], event_position=EventPosition("-1"), operation='/messages/events') - with receiver: - received = receiver.receive(timeout=10) - assert len(received) == 0 - - -@pytest.mark.liveTest -def test_iothub_mgmt_ops_after_receive_sync(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - receiver = client.create_consumer(consumer_group="$default", partition_id="0", event_position=EventPosition("-1"), operation='/messages/events') - with receiver: - received = receiver.receive(timeout=10) - assert len(received) == 0 - - partitions = client.get_partition_ids() - assert partitions == ["0", "1", "2", "3"] diff --git a/sdk/eventhub/azure-eventhubs/tests/test_iothub_send.py b/sdk/eventhub/azure-eventhubs/tests/test_iothub_send.py deleted file mode 100644 index 9660a79947bd..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/test_iothub_send.py +++ /dev/null @@ -1,24 +0,0 @@ -#------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -#-------------------------------------------------------------------------- - -import os -import pytest -import time -import uuid - -from uamqp.message import MessageProperties - -from azure.eventhub import EventData, EventHubClient - - -@pytest.mark.liveTest -def test_iothub_send_single_event(iot_connection_str, device_id): - client = EventHubClient.from_connection_string(iot_connection_str, network_tracing=False) - sender = client.create_producer(operation='/messages/devicebound') - try: - sender.send(EventData(b"A single event", to_device=device_id)) - finally: - sender.close() diff --git a/sdk/eventhub/azure-eventhubs/tests/test_longrunning_receive.py b/sdk/eventhub/azure-eventhubs/tests/test_longrunning_receive.py deleted file mode 100644 index 5a6e42a827e3..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/test_longrunning_receive.py +++ /dev/null @@ -1,131 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -""" -receive test. -""" - -import logging -import argparse -import time -import os -import sys -import threading -import pytest - -from logging.handlers import RotatingFileHandler - -from azure.eventhub import EventPosition -from azure.eventhub import EventHubClient -from azure.eventhub import EventHubSharedKeyCredential - - -def get_logger(filename, level=logging.INFO): - azure_logger = logging.getLogger("azure.eventhub") - azure_logger.setLevel(level) - uamqp_logger = logging.getLogger("uamqp") - uamqp_logger.setLevel(logging.INFO) - - formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s') - console_handler = logging.StreamHandler(stream=sys.stdout) - console_handler.setFormatter(formatter) - if not azure_logger.handlers: - azure_logger.addHandler(console_handler) - if not uamqp_logger.handlers: - uamqp_logger.addHandler(console_handler) - - if filename: - file_handler = RotatingFileHandler(filename, maxBytes=20*1024*1024, backupCount=3) - file_handler.setFormatter(formatter) - azure_logger.addHandler(file_handler) - uamqp_logger.addHandler(file_handler) - - return azure_logger - -logger = get_logger("recv_test.log", logging.INFO) - - -def pump(receiver, duration): - total = 0 - iteration = 0 - deadline = time.time() + duration - with receiver: - try: - while time.time() < deadline: - batch = receiver.receive(timeout=5) - size = len(batch) - total += size - iteration += 1 - if size == 0: - print("{}: No events received, queue size {}, delivered {}".format( - receiver._partition, - receiver.queue_size, - total)) - elif iteration >= 5: - iteration = 0 - print("{}: total received {}, last sn={}, last offset={}".format( - receiver._partition, - total, - batch[-1].sequence_number, - batch[-1].offset)) - print("{}: Total received {}".format(receiver._partition, total)) - except Exception as e: - print("EventHubConsumer failed: {}".format(e)) - raise - - -@pytest.mark.liveTest -def test_long_running_receive(connection_str): - parser = argparse.ArgumentParser() - parser.add_argument("--duration", help="Duration in seconds of the test", type=int, default=30) - parser.add_argument("--consumer", help="Consumer group name", default="$default") - parser.add_argument("--partitions", help="Comma seperated partition IDs") - parser.add_argument("--offset", help="Starting offset", default="-1") - parser.add_argument("--conn-str", help="EventHub connection string", default=connection_str) - parser.add_argument("--eventhub", help="Name of EventHub") - parser.add_argument("--address", help="Address URI to the EventHub entity") - parser.add_argument("--sas-policy", help="Name of the shared access policy to authenticate with") - parser.add_argument("--sas-key", help="Shared access key") - - args, _ = parser.parse_known_args() - if args.conn_str: - client = EventHubClient.from_connection_string( - args.conn_str, - event_hub_path=args.eventhub, network_tracing=False) - elif args.address: - client = EventHubClient(host=args.address, - event_hub_path=args.eventhub, - credential=EventHubSharedKeyCredential(args.sas_policy, args.sas_key), - auth_timeout=240, - network_tracing=False) - else: - try: - import pytest - pytest.skip("Must specify either '--conn-str' or '--address'") - except ImportError: - raise ValueError("Must specify either '--conn-str' or '--address'") - - if args.partitions: - partitions = args.partitions.split(",") - else: - partitions = client.get_partition_ids() - - threads = [] - for pid in partitions: - consumer = client.create_consumer(consumer_group="$default", - partition_id=pid, - event_position=EventPosition(args.offset), - prefetch=300) - thread = threading.Thread(target=pump, args=(consumer, args.duration)) - thread.start() - threads.append(thread) - for thread in threads: - thread.join() - - -if __name__ == '__main__': - test_long_running_receive(os.environ.get('EVENT_HUB_PERF_CONN_STR')) diff --git a/sdk/eventhub/azure-eventhubs/tests/test_longrunning_send.py b/sdk/eventhub/azure-eventhubs/tests/test_longrunning_send.py deleted file mode 100644 index 93e7e85b4287..000000000000 --- a/sdk/eventhub/azure-eventhubs/tests/test_longrunning_send.py +++ /dev/null @@ -1,118 +0,0 @@ -#!/usr/bin/env python - -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -""" -send test -""" - -import argparse -import time -import os -import sys -import threading -import logging -import pytest -from logging.handlers import RotatingFileHandler - -from azure.eventhub import EventHubClient, EventDataBatch, EventData, EventHubSharedKeyCredential - - -def get_logger(filename, level=logging.INFO): - azure_logger = logging.getLogger("azure.eventhub") - azure_logger.setLevel(level) - uamqp_logger = logging.getLogger("uamqp") - uamqp_logger.setLevel(logging.INFO) - - formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s') - console_handler = logging.StreamHandler(stream=sys.stdout) - console_handler.setFormatter(formatter) - if not azure_logger.handlers: - azure_logger.addHandler(console_handler) - if not uamqp_logger.handlers: - uamqp_logger.addHandler(console_handler) - - if filename: - file_handler = RotatingFileHandler(filename, maxBytes=20*1024*1024, backupCount=3) - file_handler.setFormatter(formatter) - azure_logger.addHandler(file_handler) - uamqp_logger.addHandler(file_handler) - - return azure_logger - - -logger = get_logger("send_test.log", logging.INFO) - - -def send(sender, args): - # sender = client.create_producer() - deadline = time.time() + args.duration - total = 0 - try: - with sender: - batch = sender.create_batch() - while time.time() < deadline: - data = EventData(body=b"D" * args.payload) - try: - batch.try_add(data) - total += 1 - except ValueError: - sender.send(batch, timeout=0) - print("Sent total {} of partition {}".format(total, sender._partition)) - batch = sender.create_batch() - except Exception as err: - print("Partition {} send failed {}".format(sender._partition, err)) - raise - print("Sent total {} of partition {}".format(total, sender._partition)) - - -@pytest.mark.liveTest -def test_long_running_send(connection_str): - if sys.platform.startswith('darwin'): - import pytest - pytest.skip("Skipping on OSX") - parser = argparse.ArgumentParser() - parser.add_argument("--duration", help="Duration in seconds of the test", type=int, default=30) - parser.add_argument("--payload", help="payload size", type=int, default=512) - parser.add_argument("--conn-str", help="EventHub connection string", default=connection_str) - parser.add_argument("--eventhub", help="Name of EventHub") - parser.add_argument("--address", help="Address URI to the EventHub entity") - parser.add_argument("--sas-policy", help="Name of the shared access policy to authenticate with") - parser.add_argument("--sas-key", help="Shared access key") - - args, _ = parser.parse_known_args() - if args.conn_str: - client = EventHubClient.from_connection_string( - args.conn_str, - event_hub_path=args.eventhub) - elif args.address: - client = EventHubClient(host=args.address, - event_hub_path=args.eventhub, - credential=EventHubSharedKeyCredential(args.sas_policy, args.sas_key), - auth_timeout=240, - network_tracing=False) - else: - try: - import pytest - pytest.skip("Must specify either '--conn-str' or '--address'") - except ImportError: - raise ValueError("Must specify either '--conn-str' or '--address'") - - try: - partition_ids = client.get_partition_ids() - threads = [] - for pid in partition_ids: - sender = client.create_producer(partition_id=pid) - thread = threading.Thread(target=send, args=(sender, args)) - thread.start() - threads.append(thread) - thread.join() - except KeyboardInterrupt: - pass - - -if __name__ == '__main__': - test_long_running_send(os.environ.get('EVENT_HUB_PERF_CONN_STR')) diff --git a/sdk/eventhub/azure-eventhubs/tests/unittest/test_event_data.py b/sdk/eventhub/azure-eventhubs/tests/unittest/test_event_data.py new file mode 100644 index 000000000000..0cf07b27c252 --- /dev/null +++ b/sdk/eventhub/azure-eventhubs/tests/unittest/test_event_data.py @@ -0,0 +1,43 @@ +import pytest +from azure.eventhub import EventData, EventDataBatch +from uamqp import Message + + +@pytest.mark.parametrize("test_input, expected_result", + [("", ""), ("AAA", "AAA"), (None, ValueError), (["a", "b", "c"], "abc"), (b"abc", "abc")]) +def test_constructor(test_input, expected_result): + if isinstance(expected_result, type): + with pytest.raises(expected_result): + EventData(test_input) + else: + event_data = EventData(test_input) + assert event_data.body_as_str() == expected_result + assert event_data.partition_key is None + assert event_data.application_properties is None + assert event_data.enqueued_time is None + assert event_data.offset is None + assert event_data.sequence_number is None + assert event_data.system_properties == {} + with pytest.raises(TypeError): + event_data.body_as_json() + + +def test_body_json(): + event_data = EventData('{"a":"b"}') + jo = event_data.body_as_json() + assert jo["a"] == "b" + + +def test_app_properties(): + app_props = {"a": "b"} + event_data = EventData("") + event_data.application_properties = app_props + assert event_data.application_properties["a"] == "b" + + +def test_evetn_data_batch(): + batch = EventDataBatch(max_size=100, partition_key="par") + batch.try_add(EventData("A")) + assert batch.size == 89 and len(batch) == 1 + with pytest.raises(ValueError): + batch.try_add(EventData("A")) diff --git a/sdk/eventhub/tests.yml b/sdk/eventhub/tests.yml index 14dfbdb02073..7eebea067f9a 100644 --- a/sdk/eventhub/tests.yml +++ b/sdk/eventhub/tests.yml @@ -11,6 +11,19 @@ jobs: - template: ../../eng/pipelines/templates/jobs/archetype-sdk-tests.yml parameters: ServiceDirectory: eventhub + Matrix: + Linux_Python35: + OSName: 'Linux' + OSVmImage: 'ubuntu-16.04' + PythonVersion: '3.5' + MacOs_Python37: + OSName: 'MacOS' + OSVmImage: 'macOS-10.14' + PythonVersion: '3.7' + Windows_Python27: + OSName: 'Windows' + OSVmImage: 'windows-2019' + PythonVersion: '2.7' EnvVars: AZURE_STORAGE_ACCOUNT: $(python-eh-livetest-event-hub-storage-account) AZURE_STORAGE_ACCESS_KEY: $(python-eh-livetest-event-hub-storage-access-key) From 4d8a7d5205f02492c0725b419e2feeb239c86136 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Sat, 5 Oct 2019 20:04:52 -0700 Subject: [PATCH 11/19] Resolve Global Install Errors (#7642) * swapping all dev_requirements to leverage the non-develop mode. opencensus-tracing will fail if azure-core is installed in dev mode. all the rest of the tests are ok with using non-dev, so this seems to be a good compromise --- .../azure-appconfiguration/dev_requirements.txt | 2 +- .../azure-cognitiveservices-inkrecognizer/dev_requirements.txt | 2 +- .../dev_requirements.txt | 2 +- sdk/eventhub/azure-eventhubs/dev_requirements.txt | 2 +- sdk/identity/azure-identity/dev_requirements.txt | 2 +- sdk/keyvault/azure-keyvault-certificates/dev_requirements.txt | 2 +- sdk/keyvault/azure-keyvault-keys/dev_requirements.txt | 2 +- sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt | 2 +- sdk/storage/azure-storage-blob/dev_requirements.txt | 2 +- sdk/storage/azure-storage-file/dev_requirements.txt | 2 +- sdk/storage/azure-storage-queue/dev_requirements.txt | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt b/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt index 8ccf624878eb..5eecbef91969 100644 --- a/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt +++ b/sdk/appconfiguration/azure-appconfiguration/dev_requirements.txt @@ -1,6 +1,6 @@ -e ../../../tools/azure-devtools -e ../../../tools/azure-sdk-tools --e ../../core/azure-core +../../core/azure-core aiohttp>=3.0; python_version >= '3.5' aiodns>=2.0; python_version >= '3.5' msrest>=0.6.10 diff --git a/sdk/cognitiveservices/azure-cognitiveservices-inkrecognizer/dev_requirements.txt b/sdk/cognitiveservices/azure-cognitiveservices-inkrecognizer/dev_requirements.txt index a1d28135e669..3c5083e92ae5 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-inkrecognizer/dev_requirements.txt +++ b/sdk/cognitiveservices/azure-cognitiveservices-inkrecognizer/dev_requirements.txt @@ -1,3 +1,3 @@ -e ../../../tools/azure-sdk-tools -e ../azure-mgmt-cognitiveservices --e ../../core/azure-core \ No newline at end of file +../../core/azure-core \ No newline at end of file diff --git a/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/dev_requirements.txt b/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/dev_requirements.txt index 47636fca5d49..6fd64226d3da 100644 --- a/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/dev_requirements.txt +++ b/sdk/eventhub/azure-eventhubs-checkpointstoreblob-aio/dev_requirements.txt @@ -1,4 +1,4 @@ -e ../../../tools/azure-sdk-tools --e ../../core/azure-core +../../core/azure-core -e ../../storage/azure-storage-blob ../azure-eventhubs diff --git a/sdk/eventhub/azure-eventhubs/dev_requirements.txt b/sdk/eventhub/azure-eventhubs/dev_requirements.txt index 89620b24487f..c808b7948163 100644 --- a/sdk/eventhub/azure-eventhubs/dev_requirements.txt +++ b/sdk/eventhub/azure-eventhubs/dev_requirements.txt @@ -1,5 +1,5 @@ -e ../../../tools/azure-sdk-tools --e ../../core/azure-core +../../core/azure-core -e ../../identity/azure-identity -e ../../servicebus/azure-servicebus docutils>=0.14 diff --git a/sdk/identity/azure-identity/dev_requirements.txt b/sdk/identity/azure-identity/dev_requirements.txt index 898a1d7d539a..cc1cabc41167 100644 --- a/sdk/identity/azure-identity/dev_requirements.txt +++ b/sdk/identity/azure-identity/dev_requirements.txt @@ -1,3 +1,3 @@ --e ../../core/azure-core +../../core/azure-core aiohttp;python_full_version>="3.5.2" typing_extensions>=3.7.2 diff --git a/sdk/keyvault/azure-keyvault-certificates/dev_requirements.txt b/sdk/keyvault/azure-keyvault-certificates/dev_requirements.txt index 76575d77b8f2..bae5026fc649 100644 --- a/sdk/keyvault/azure-keyvault-certificates/dev_requirements.txt +++ b/sdk/keyvault/azure-keyvault-certificates/dev_requirements.txt @@ -1,4 +1,4 @@ --e ../../core/azure-core +../../core/azure-core -e ../../../tools/azure-devtools -e ../../../tools/azure-sdk-tools -e ../../identity/azure-identity diff --git a/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt b/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt index f0a4de3abfb3..c75412651f26 100644 --- a/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt +++ b/sdk/keyvault/azure-keyvault-keys/dev_requirements.txt @@ -1,5 +1,5 @@ -e ../../../tools/azure-devtools --e ../../core/azure-core +../../core/azure-core -e ../../identity/azure-identity -e ../azure-mgmt-keyvault -e ../../../tools/azure-sdk-tools diff --git a/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt b/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt index 5f6b93c24148..eb63864de06a 100644 --- a/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt +++ b/sdk/keyvault/azure-keyvault-secrets/dev_requirements.txt @@ -1,5 +1,5 @@ -e ../../../tools/azure-devtools --e ../../core/azure-core +../../core/azure-core -e ../../identity/azure-identity -e ../azure-mgmt-keyvault -e ../../../tools/azure-sdk-tools diff --git a/sdk/storage/azure-storage-blob/dev_requirements.txt b/sdk/storage/azure-storage-blob/dev_requirements.txt index bc8e13ba9ecb..234c6526a3fa 100644 --- a/sdk/storage/azure-storage-blob/dev_requirements.txt +++ b/sdk/storage/azure-storage-blob/dev_requirements.txt @@ -1,6 +1,6 @@ -e ../../../tools/azure-devtools -e ../../../tools/azure-sdk-tools --e ../../core/azure-core +../../core/azure-core -e ../../identity/azure-identity aiohttp>=3.0; python_version >= '3.5' pytest diff --git a/sdk/storage/azure-storage-file/dev_requirements.txt b/sdk/storage/azure-storage-file/dev_requirements.txt index 49237d8ca1f3..64b9bc638585 100644 --- a/sdk/storage/azure-storage-file/dev_requirements.txt +++ b/sdk/storage/azure-storage-file/dev_requirements.txt @@ -1,5 +1,5 @@ -e ../../../tools/azure-devtools -e ../../../tools/azure-sdk-tools --e ../../core/azure-core +../../core/azure-core aiohttp>=3.0; python_version >= '3.5' pytest \ No newline at end of file diff --git a/sdk/storage/azure-storage-queue/dev_requirements.txt b/sdk/storage/azure-storage-queue/dev_requirements.txt index 0920db1d317d..cb31fed46303 100644 --- a/sdk/storage/azure-storage-queue/dev_requirements.txt +++ b/sdk/storage/azure-storage-queue/dev_requirements.txt @@ -1,6 +1,6 @@ -e ../../../tools/azure-devtools -e ../../../tools/azure-sdk-tools --e ../../core/azure-core +../../core/azure-core -e ../../identity/azure-identity aiohttp>=3.0; python_version >= '3.5' pytest From 481efd2e5fdfc2e50d2d6bfa070061db91a66931 Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Sun, 6 Oct 2019 20:15:38 +1100 Subject: [PATCH 12/19] Setup core for unified pipelines. (#7577) * Setup core for unified pipelines. * Added open census to the core pipeline (can be released independently). --- sdk/core/ci.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 9ba4bf207712..47bec895db46 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -1,10 +1,24 @@ # DO NOT EDIT THIS FILE # This file is generated automatically and any changes will be lost. +resources: + repositories: + - repository: azure-sdk-tools + type: github + name: Azure/azure-sdk-tools + endpoint: azure + - repository: azure-sdk-build-tools + type: git + name: internal/azure-sdk-build-tools + trigger: branches: include: - master + - feature/* + - hotfix/* + - release/* + - restapi* paths: include: - sdk/core/ @@ -21,14 +35,12 @@ pr: include: - sdk/core/ -resources: - repositories: - - repository: azure-sdk-tools - type: github - name: Azure/azure-sdk-tools - endpoint: azure - -jobs: -- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml +stages: +- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: - ServiceDirectory: core \ No newline at end of file + ServiceDirectory: core + Artifacts: + - name: azure_core + safeName: azurecore + - name: azure_core_tracing_opencensus + safeName: azurecorecoretracingopencensus \ No newline at end of file From ffc06d557ba8aad09ec73daa5669969f72c9cc9c Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Mon, 7 Oct 2019 10:46:37 +1100 Subject: [PATCH 13/19] Publish the packages artifact. (#7643) --- eng/pipelines/templates/steps/build-artifacts.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eng/pipelines/templates/steps/build-artifacts.yml b/eng/pipelines/templates/steps/build-artifacts.yml index 65d51c33a2ec..24852db250e2 100644 --- a/eng/pipelines/templates/steps/build-artifacts.yml +++ b/eng/pipelines/templates/steps/build-artifacts.yml @@ -59,6 +59,13 @@ steps: artifactName: 'artifacts' targetPath: $(Build.ArtifactStagingDirectory) + # Duplicating the task above to introduce a packages artifact for consistency + # with the other pipelines. Also using the newer YAML shortcut. Once we get + # past release successfully with unified pipelines we'll look at getting rid + # of the duplicated "artifacts" artifact. + - publish: $(Build.ArtifactStagingDirectory) + artifact: packages + - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish Artifacts' From 3750ac7fa5c89793ac7f25e9574479c130de658a Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Mon, 7 Oct 2019 11:08:39 +1100 Subject: [PATCH 14/19] Enable template for unified templates. (#7644) * Setup template for UP. * Fixed service directory. --- sdk/template/ci.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/sdk/template/ci.yml b/sdk/template/ci.yml index e475fd73946b..df1b973f1777 100644 --- a/sdk/template/ci.yml +++ b/sdk/template/ci.yml @@ -1,13 +1,28 @@ # DO NOT EDIT THIS FILE # This file is generated automatically and any changes will be lost. +resources: + repositories: + - repository: azure-sdk-tools + type: github + name: Azure/azure-sdk-tools + endpoint: azure + - repository: azure-sdk-build-tools + type: git + name: internal/azure-sdk-build-tools + trigger: branches: include: - master + - feature/* + - hotfix/* + - release/* + - restapi* paths: include: - sdk/template/ + - sdk/core/ pr: branches: @@ -20,15 +35,12 @@ pr: paths: include: - sdk/template/ + - sdk/core/ -resources: - repositories: - - repository: azure-sdk-tools - type: github - name: Azure/azure-sdk-tools - endpoint: azure - -jobs: -- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml +stages: +- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: - ServiceDirectory: template \ No newline at end of file + ServiceDirectory: template + Artifacts: + - name: azure_template + safeName: azuretemplate From 33304368cccdd330d0a23be3fec0a5a6b97009ce Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 7 Oct 2019 08:15:28 -0700 Subject: [PATCH 15/19] ensure error_map is used consistently and correctly (#7637) --- .../azure/keyvault/certificates/aio/client.py | 18 +++++++++--------- .../azure/keyvault/certificates/client.py | 18 +++++++++--------- .../azure/keyvault/keys/aio/client.py | 14 +++++++------- .../azure/keyvault/keys/client.py | 14 +++++++------- .../azure/keyvault/secrets/aio/client.py | 14 +++++++------- .../azure/keyvault/secrets/client.py | 14 +++++++------- 6 files changed, 46 insertions(+), 46 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py index de9b2afd7b4a..9ae88ef66104 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py @@ -129,7 +129,7 @@ async def get_certificate_with_policy(self, name: str, **kwargs: "**Any") -> Cer :dedent: 8 """ bundle = await self._client.get_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -160,7 +160,7 @@ async def get_certificate(self, name: str, version: str, **kwargs: "**Any") -> C vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version, - error_map=error_map, + error_map=_error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -190,7 +190,7 @@ async def delete_certificate(self, name: str, **kwargs: "**Any") -> DeletedCerti :dedent: 8 """ bundle = await self._client.delete_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -219,7 +219,7 @@ async def get_deleted_certificate(self, name: str, **kwargs: "**Any") -> Deleted :dedent: 8 """ bundle = await self._client.get_deleted_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -434,7 +434,7 @@ async def backup_certificate(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return backup_result.value @@ -663,7 +663,7 @@ async def get_certificate_operation(self, name: str, **kwargs: "**Any") -> Certi """ bundle = await self._client.get_certificate_operation( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -683,7 +683,7 @@ async def delete_certificate_operation(self, name: str, **kwargs: "**Any") -> Ce :class:`~azure.core.exceptions.HttpResponseError` for other errors """ bundle = await self._client.delete_certificate_operation( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -746,7 +746,7 @@ async def get_pending_certificate_signing_request( response = pipeline_response.http_response if response.status_code not in [200]: - self._client.map_error(status_code=response.status_code, response=response, error_map=error_map) + self._client.map_error(status_code=response.status_code, response=response, error_map=_error_map) raise self._client.models.KeyVaultErrorException(response, self._client._deserialize) deserialized = None @@ -823,7 +823,7 @@ async def get_issuer(self, name: str, **kwargs: "**Any") -> Issuer: :dedent: 8 """ issuer_bundle = await self._client.get_certificate_issuer( - vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index a28cf8683736..ac0278660fc9 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -11,7 +11,7 @@ from azure.core.tracing.decorator import distributed_trace from ._shared import KeyVaultClientBase -from ._shared.exceptions import error_map +from ._shared.exceptions import error_map as _error_map from .models import ( Certificate, CertificateProperties, @@ -140,7 +140,7 @@ def get_certificate_with_policy(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -172,7 +172,7 @@ def get_certificate(self, name, version, **kwargs): vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version, - error_map=error_map, + error_map=_error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -203,7 +203,7 @@ def delete_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.delete_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -233,7 +233,7 @@ def get_deleted_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_deleted_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -454,7 +454,7 @@ def backup_certificate(self, name, **kwargs): :dedent: 8 """ backup_result = self._client.backup_certificate( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return backup_result.value @@ -677,7 +677,7 @@ def get_certificate_operation(self, name, **kwargs): """ bundle = self._client.get_certificate_operation( - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -806,7 +806,7 @@ def get_pending_certificate_signing_request( response = pipeline_response.http_response if response.status_code not in [200]: - self._client.map_error(status_code=response.status_code, response=response, error_map=error_map) + self._client.map_error(status_code=response.status_code, response=response, error_map=_error_map) raise self._client.models.KeyVaultErrorException(response, self._client._deserialize) deserialized = None @@ -840,7 +840,7 @@ def get_issuer(self, name, **kwargs): :dedent: 8 """ issuer_bundle = self._client.get_certificate_issuer( - vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py index 5fdd02ad1f2e..fc449205964b 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py @@ -10,7 +10,7 @@ from azure.keyvault.keys.models import DeletedKey, JsonWebKey, Key, KeyProperties from azure.keyvault.keys._shared import AsyncKeyVaultClientBase -from .._shared.exceptions import error_map +from .._shared.exceptions import error_map as _error_map from ..crypto.aio import CryptographyClient @@ -231,7 +231,7 @@ async def delete_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Delete a key :dedent: 8 """ - bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) + bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace_async @@ -257,7 +257,7 @@ async def get_key(self, name: str, version: Optional[str] = None, **kwargs: "**A if version is None: version = "" - bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=error_map, **kwargs) + bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=_error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace_async @@ -280,7 +280,7 @@ async def get_deleted_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Get a deleted key :dedent: 8 """ - bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) + bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -449,7 +449,7 @@ async def update_key_properties( key_ops=key_operations, tags=tags, key_attributes=attributes, - error_map=error_map, + error_map=_error_map, **kwargs, ) return Key._from_key_bundle(bundle) @@ -477,7 +477,7 @@ async def backup_key(self, name: str, **kwargs: "**Any") -> bytes: :caption: Get a key backup :dedent: 8 """ - backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) + backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) return backup_result.value @distributed_trace_async @@ -503,7 +503,7 @@ async def restore_key(self, backup: bytes, **kwargs: "**Any") -> Key: :caption: Restore a key backup :dedent: 8 """ - bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) + bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace_async diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py index b69d814e18ef..3f5b5edaefd0 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py @@ -5,7 +5,7 @@ from azure.core.tracing.decorator import distributed_trace from ._shared import KeyVaultClientBase -from ._shared.exceptions import error_map +from ._shared.exceptions import error_map as _error_map from .crypto import CryptographyClient from .models import Key, KeyProperties, DeletedKey @@ -245,7 +245,7 @@ def delete_key(self, name, **kwargs): :caption: Delete a key :dedent: 8 """ - bundle = self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) + bundle = self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -269,7 +269,7 @@ def get_key(self, name, version=None, **kwargs): :caption: Get a key :dedent: 8 """ - bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=error_map, **kwargs) + bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=_error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace @@ -294,7 +294,7 @@ def get_deleted_key(self, name, **kwargs): :dedent: 8 """ # TODO: which exception is raised when soft-delete is not enabled - bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) + bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -468,7 +468,7 @@ def update_key_properties( key_ops=key_operations, tags=tags, key_attributes=attributes, - error_map=error_map, + error_map=_error_map, **kwargs ) return Key._from_key_bundle(bundle) @@ -497,7 +497,7 @@ def backup_key(self, name, **kwargs): :caption: Get a key backup :dedent: 8 """ - backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) + backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) return backup_result.value @distributed_trace @@ -524,7 +524,7 @@ def restore_key(self, backup, **kwargs): :caption: Restore a key backup :dedent: 8 """ - bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) + bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) return Key._from_key_bundle(bundle) @distributed_trace diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py index 9bea82ecc0d3..07e51b0ce719 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py @@ -5,12 +5,12 @@ from datetime import datetime from typing import Any, AsyncIterable, Optional, Dict -from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async from azure.keyvault.secrets.models import Secret, DeletedSecret, SecretProperties from .._shared import AsyncKeyVaultClientBase +from .._shared.exceptions import error_map as _error_map class SecretClient(AsyncKeyVaultClientBase): @@ -51,7 +51,7 @@ async def get_secret(self, name: str, version: Optional[str] = None, **kwargs: " :dedent: 8 """ bundle = await self._client.get_secret( - self.vault_endpoint, name, version or "", error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, version or "", error_map=_error_map, **kwargs ) return Secret._from_secret_bundle(bundle) @@ -144,7 +144,7 @@ async def update_secret_properties( content_type=content_type, tags=tags, secret_attributes=attributes, - error_map={404: ResourceNotFoundError}, + error_map=_error_map, **kwargs ) return SecretProperties._from_secret_bundle(bundle) # pylint: disable=protected-access @@ -219,7 +219,7 @@ async def backup_secret(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_secret( - self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map=_error_map, **kwargs ) return backup_result.value @@ -243,7 +243,7 @@ async def restore_secret(self, backup: bytes, **kwargs: "**Any") -> SecretProper :dedent: 8 """ bundle = await self._client.restore_secret( - self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs + self.vault_endpoint, backup, error_map=_error_map, **kwargs ) return SecretProperties._from_secret_bundle(bundle) @@ -266,7 +266,7 @@ async def delete_secret(self, name: str, **kwargs: "**Any") -> DeletedSecret: :dedent: 8 """ bundle = await self._client.delete_secret( - self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map=_error_map, **kwargs ) return DeletedSecret._from_deleted_secret_bundle(bundle) @@ -290,7 +290,7 @@ async def get_deleted_secret(self, name: str, **kwargs: "**Any") -> DeletedSecre :dedent: 8 """ bundle = await self._client.get_deleted_secret( - self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map=_error_map, **kwargs ) return DeletedSecret._from_deleted_secret_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py index b66aa4858886..5ca5145247c8 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py @@ -2,10 +2,10 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.tracing.decorator import distributed_trace from ._shared import KeyVaultClientBase +from ._shared.exceptions import error_map as _error_map from .models import Secret, DeletedSecret, SecretProperties try: @@ -62,7 +62,7 @@ def get_secret(self, name, version=None, **kwargs): vault_base_url=self._vault_endpoint, secret_name=name, secret_version=version or "", - error_map={404: ResourceNotFoundError}, + error_map=_error_map, **kwargs ) return Secret._from_secret_bundle(bundle) @@ -166,7 +166,7 @@ def update_secret_properties( content_type=content_type, tags=tags, secret_attributes=attributes, - error_map={404: ResourceNotFoundError}, + error_map=_error_map, **kwargs ) return SecretProperties._from_secret_bundle(bundle) # pylint: disable=protected-access @@ -247,7 +247,7 @@ def backup_secret(self, name, **kwargs): """ backup_result = self._client.backup_secret( - self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs + self.vault_endpoint, name, error_map=_error_map, **kwargs ) return backup_result.value @@ -272,7 +272,7 @@ def restore_secret(self, backup, **kwargs): :dedent: 8 """ - bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs) + bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map=_error_map, **kwargs) return SecretProperties._from_secret_bundle(bundle) @distributed_trace @@ -295,7 +295,7 @@ def delete_secret(self, name, **kwargs): :dedent: 8 """ - bundle = self._client.delete_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) + bundle = self._client.delete_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace @@ -319,7 +319,7 @@ def get_deleted_secret(self, name, **kwargs): :dedent: 8 """ - bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) + bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace From 5f530a8a0e2ff04bbee389312a211f52ba89ad96 Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Fri, 4 Oct 2019 15:16:37 -0700 Subject: [PATCH 16/19] switched vault_url to vault_endpoint across key vault --- .../azure/keyvault/certificates/aio/client.py | 36 +++++++++++++++++++ .../azure/keyvault/certificates/client.py | 32 +++++++++++++++++ .../azure/keyvault/keys/aio/client.py | 20 +++++++++++ .../azure/keyvault/keys/client.py | 20 +++++++++++ .../azure/keyvault/secrets/aio/client.py | 20 +++++++++++ .../azure/keyvault/secrets/client.py | 16 +++++++++ 6 files changed, 144 insertions(+) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py index 9ae88ef66104..832c78793f8d 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py @@ -129,7 +129,11 @@ async def get_certificate_with_policy(self, name: str, **kwargs: "**Any") -> Cer :dedent: 8 """ bundle = await self._client.get_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -190,7 +194,11 @@ async def delete_certificate(self, name: str, **kwargs: "**Any") -> DeletedCerti :dedent: 8 """ bundle = await self._client.delete_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -219,7 +227,11 @@ async def get_deleted_certificate(self, name: str, **kwargs: "**Any") -> Deleted :dedent: 8 """ bundle = await self._client.get_deleted_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -334,7 +346,11 @@ async def get_policy(self, certificate_name: str, **kwargs: "**Any") -> Certific :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = await self._client.get_certificate_policy( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @@ -354,7 +370,11 @@ async def update_policy(self, certificate_name: str, policy: CertificatePolicy, """ bundle = await self._client.update_certificate_policy( vault_base_url=self.vault_endpoint, +<<<<<<< HEAD certificate_name=certificate_name, +======= + certificate_name=name, +>>>>>>> switched vault_url to vault_endpoint across key vault certificate_policy=policy._to_certificate_policy_bundle(), **kwargs ) @@ -434,7 +454,11 @@ async def backup_certificate(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return backup_result.value @@ -663,7 +687,11 @@ async def get_certificate_operation(self, name: str, **kwargs: "**Any") -> Certi """ bundle = await self._client.get_certificate_operation( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -683,7 +711,11 @@ async def delete_certificate_operation(self, name: str, **kwargs: "**Any") -> Ce :class:`~azure.core.exceptions.HttpResponseError` for other errors """ bundle = await self._client.delete_certificate_operation( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -823,7 +855,11 @@ async def get_issuer(self, name: str, **kwargs: "**Any") -> Issuer: :dedent: 8 """ issuer_bundle = await self._client.get_certificate_issuer( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index ac0278660fc9..761db9445f5c 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -140,7 +140,11 @@ def get_certificate_with_policy(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -203,7 +207,11 @@ def delete_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.delete_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -233,7 +241,11 @@ def get_deleted_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_deleted_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -351,7 +363,11 @@ def get_policy(self, certificate_name, **kwargs): :rtype: ~azure.keyvault.certificates.models.CertificatePolicy :raises: :class:`~azure.core.exceptions.HttpResponseError` """ +<<<<<<< HEAD bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs) +======= + bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace @@ -371,7 +387,11 @@ def update_policy(self, certificate_name, policy, **kwargs): """ bundle = self._client.update_certificate_policy( vault_base_url=self.vault_endpoint, +<<<<<<< HEAD certificate_name=certificate_name, +======= + certificate_name=name, +>>>>>>> switched vault_url to vault_endpoint across key vault certificate_policy=policy._to_certificate_policy_bundle(), **kwargs ) @@ -454,7 +474,11 @@ def backup_certificate(self, name, **kwargs): :dedent: 8 """ backup_result = self._client.backup_certificate( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return backup_result.value @@ -677,7 +701,11 @@ def get_certificate_operation(self, name, **kwargs): """ bundle = self._client.get_certificate_operation( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -840,7 +868,11 @@ def get_issuer(self, name, **kwargs): :dedent: 8 """ issuer_bundle = self._client.get_certificate_issuer( +<<<<<<< HEAD vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs +======= + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py index fc449205964b..5c9edb65cae6 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py @@ -231,7 +231,11 @@ async def delete_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Delete a key :dedent: 8 """ +<<<<<<< HEAD bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace_async @@ -257,7 +261,11 @@ async def get_key(self, name: str, version: Optional[str] = None, **kwargs: "**A if version is None: version = "" +<<<<<<< HEAD bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=_error_map, **kwargs) +======= + bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return Key._from_key_bundle(bundle) @distributed_trace_async @@ -280,7 +288,11 @@ async def get_deleted_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Get a deleted key :dedent: 8 """ +<<<<<<< HEAD bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -477,7 +489,11 @@ async def backup_key(self, name: str, **kwargs: "**Any") -> bytes: :caption: Get a key backup :dedent: 8 """ +<<<<<<< HEAD backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return backup_result.value @distributed_trace_async @@ -503,7 +519,11 @@ async def restore_key(self, backup: bytes, **kwargs: "**Any") -> Key: :caption: Restore a key backup :dedent: 8 """ +<<<<<<< HEAD bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) +======= + bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return Key._from_key_bundle(bundle) @distributed_trace_async diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py index 3f5b5edaefd0..c75a00430edf 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py @@ -245,7 +245,11 @@ def delete_key(self, name, **kwargs): :caption: Delete a key :dedent: 8 """ +<<<<<<< HEAD bundle = self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + bundle = self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -269,7 +273,11 @@ def get_key(self, name, version=None, **kwargs): :caption: Get a key :dedent: 8 """ +<<<<<<< HEAD bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=_error_map, **kwargs) +======= + bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return Key._from_key_bundle(bundle) @distributed_trace @@ -294,7 +302,11 @@ def get_deleted_key(self, name, **kwargs): :dedent: 8 """ # TODO: which exception is raised when soft-delete is not enabled +<<<<<<< HEAD bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -497,7 +509,11 @@ def backup_key(self, name, **kwargs): :caption: Get a key backup :dedent: 8 """ +<<<<<<< HEAD backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return backup_result.value @distributed_trace @@ -524,7 +540,11 @@ def restore_key(self, backup, **kwargs): :caption: Restore a key backup :dedent: 8 """ +<<<<<<< HEAD bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) +======= + bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return Key._from_key_bundle(bundle) @distributed_trace diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py index 07e51b0ce719..d5eb64e911e6 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py @@ -51,7 +51,11 @@ async def get_secret(self, name: str, version: Optional[str] = None, **kwargs: " :dedent: 8 """ bundle = await self._client.get_secret( +<<<<<<< HEAD self.vault_endpoint, name, version or "", error_map=_error_map, **kwargs +======= + self.vault_endpoint, name, version or "", error_map={404: ResourceNotFoundError}, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return Secret._from_secret_bundle(bundle) @@ -219,7 +223,11 @@ async def backup_secret(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_secret( +<<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs +======= + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return backup_result.value @@ -243,7 +251,11 @@ async def restore_secret(self, backup: bytes, **kwargs: "**Any") -> SecretProper :dedent: 8 """ bundle = await self._client.restore_secret( +<<<<<<< HEAD self.vault_endpoint, backup, error_map=_error_map, **kwargs +======= + self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return SecretProperties._from_secret_bundle(bundle) @@ -266,7 +278,11 @@ async def delete_secret(self, name: str, **kwargs: "**Any") -> DeletedSecret: :dedent: 8 """ bundle = await self._client.delete_secret( +<<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs +======= + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedSecret._from_deleted_secret_bundle(bundle) @@ -290,7 +306,11 @@ async def get_deleted_secret(self, name: str, **kwargs: "**Any") -> DeletedSecre :dedent: 8 """ bundle = await self._client.get_deleted_secret( +<<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs +======= + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedSecret._from_deleted_secret_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py index 5ca5145247c8..bb816e21d30b 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py @@ -247,7 +247,11 @@ def backup_secret(self, name, **kwargs): """ backup_result = self._client.backup_secret( +<<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs +======= + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs +>>>>>>> switched vault_url to vault_endpoint across key vault ) return backup_result.value @@ -272,7 +276,11 @@ def restore_secret(self, backup, **kwargs): :dedent: 8 """ +<<<<<<< HEAD bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map=_error_map, **kwargs) +======= + bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return SecretProperties._from_secret_bundle(bundle) @distributed_trace @@ -295,7 +303,11 @@ def delete_secret(self, name, **kwargs): :dedent: 8 """ +<<<<<<< HEAD bundle = self._client.delete_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + bundle = self._client.delete_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace @@ -319,7 +331,11 @@ def get_deleted_secret(self, name, **kwargs): :dedent: 8 """ +<<<<<<< HEAD bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) +======= + bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) +>>>>>>> switched vault_url to vault_endpoint across key vault return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace From bfb2742d5425f5e2fe8e3edb477e6aa5c65d1a35 Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Mon, 7 Oct 2019 09:42:49 -0700 Subject: [PATCH 17/19] ran black on keyvault --- .../azure/keyvault/certificates/aio/client.py | 57 +++++++++--------- .../azure/keyvault/certificates/client.py | 58 +++++++++++++++---- .../tests/certificates_vault_client.py | 4 +- .../tests/certificates_vault_client_async.py | 4 +- .../tests/test_certificates_client.py | 14 ++++- .../tests/test_certificates_client_async.py | 10 +++- .../keys/_shared/async_client_base.py | 4 +- .../azure/keyvault/keys/aio/client.py | 40 ++++++++++--- .../azure/keyvault/keys/client.py | 30 +++++++++- .../crypto/_internal/algorithms/aes_cbc.py | 1 + .../azure/keyvault/keys/crypto/aio/client.py | 4 +- .../azure/keyvault/keys/crypto/client.py | 4 +- .../samples/hello_world.py | 14 ++++- .../samples/hello_world_async.py | 16 ++++- .../samples/list_operations.py | 4 +- .../tests/keys_async_preparer.py | 1 + .../tests/keys_preparer.py | 4 +- .../tests/test_crypto_client.py | 4 +- .../tests/test_key_client.py | 8 ++- .../tests/test_keys_async.py | 12 +++- .../secrets/_shared/async_client_base.py | 4 +- .../azure/keyvault/secrets/aio/client.py | 28 ++++++++- .../azure/keyvault/secrets/client.py | 20 +++++++ .../azure/keyvault/secrets/models.py | 13 +++-- .../samples/hello_world.py | 6 +- .../samples/hello_world_async.py | 10 +++- .../samples/list_operations.py | 6 +- .../tests/secrets_async_preparer.py | 1 + .../tests/secrets_preparer.py | 4 +- .../tests/test_samples_secrets.py | 4 +- .../tests/test_samples_secrets_async.py | 4 +- .../tests/test_secrets_async.py | 12 +++- .../tests/test_secrets_client.py | 16 ++++- 33 files changed, 325 insertions(+), 96 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py index 832c78793f8d..2370bc20fade 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/aio/client.py @@ -43,10 +43,7 @@ class CertificateClient(AsyncKeyVaultClientBase): # pylint:disable=protected-access @distributed_trace_async async def create_certificate( - self, - name: str, - policy: Optional[CertificatePolicy] = None, - **kwargs: "**Any" + self, name: str, policy: Optional[CertificatePolicy] = None, **kwargs: "**Any" ) -> Coroutine: """Creates a new certificate. @@ -76,8 +73,8 @@ async def create_certificate( :dedent: 8 """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -129,11 +126,19 @@ async def get_certificate_with_policy(self, name: str, **kwargs: "**Any") -> Cer :dedent: 8 """ bundle = await self._client.get_certificate( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, + certificate_name=name, + certificate_version="", + error_map=error_map, + **kwargs +>>>>>>> ran black on keyvault ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -249,7 +254,9 @@ async def purge_deleted_certificate(self, name: str, **kwargs: "**Any") -> None: :rtype: None :raises: :class:`~azure.core.exceptions.HttpResponseError` """ - await self._client.purge_deleted_certificate(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) + await self._client.purge_deleted_certificate( + vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs + ) @distributed_trace_async async def recover_deleted_certificate(self, name: str, **kwargs: "**Any") -> Certificate: @@ -313,8 +320,8 @@ async def import_certificate( - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -355,7 +362,9 @@ async def get_policy(self, certificate_name: str, **kwargs: "**Any") -> Certific return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace_async - async def update_policy(self, certificate_name: str, policy: CertificatePolicy, **kwargs: "**Any") -> CertificatePolicy: + async def update_policy( + self, certificate_name: str, policy: CertificatePolicy, **kwargs: "**Any" + ) -> CertificatePolicy: """Updates the policy for a certificate. Set specified members in the certificate policy. Leaves others as null. @@ -382,10 +391,7 @@ async def update_policy(self, certificate_name: str, policy: CertificatePolicy, @distributed_trace_async async def update_certificate_properties( - self, - name: str, - version: Optional[str] = None, - **kwargs: "**Any" + self, name: str, version: Optional[str] = None, **kwargs: "**Any" ) -> Certificate: """Updates the specified attributes associated with the given certificate. @@ -412,8 +418,8 @@ async def update_certificate_properties( :dedent: 8 """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -614,7 +620,9 @@ async def create_contacts(self, contacts: Iterable[Contact], **kwargs: "**Any") :dedent: 8 """ contacts = await self._client.set_certificate_contacts( - vault_base_url=self.vault_endpoint, contact_list=[c._to_certificate_contacts_item() for c in contacts], **kwargs + vault_base_url=self.vault_endpoint, + contact_list=[c._to_certificate_contacts_item() for c in contacts], + **kwargs ) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @@ -789,12 +797,7 @@ async def get_pending_certificate_signing_request( return deserialized @distributed_trace_async - async def merge_certificate( - self, - name: str, - x509_certificates: List[bytearray], - **kwargs: "**Any" - ) -> Certificate: + async def merge_certificate(self, name: str, x509_certificates: List[bytearray], **kwargs: "**Any") -> Certificate: """Merges a certificate or a certificate chain with a key pair existing on the server. Performs the merging of a certificate or certificate chain with a key pair currently @@ -815,8 +818,8 @@ async def merge_certificate( - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -903,7 +906,7 @@ async def create_issuer( :dedent: 8 """ - enabled = kwargs.pop('enabled', None) + enabled = kwargs.pop("enabled", None) if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) @@ -973,7 +976,7 @@ async def update_issuer( - *enabled (bool)* - Determines whether the object is enabled. """ - enabled = kwargs.pop('enabled', None) + enabled = kwargs.pop("enabled", None) if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index 761db9445f5c..ddf07cbcf782 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -84,8 +84,8 @@ def create_certificate( :dedent: 8 """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('enabled', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("enabled", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -140,11 +140,19 @@ def get_certificate_with_policy(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_certificate( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, + certificate_name=name, + certificate_version="", + error_map=_error_map, + **kwargs +>>>>>>> ran black on keyvault ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -207,11 +215,15 @@ def delete_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.delete_certificate( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -241,11 +253,15 @@ def get_deleted_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_deleted_certificate( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -330,8 +346,8 @@ def import_certificate( - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -363,11 +379,17 @@ def get_policy(self, certificate_name, **kwargs): :rtype: ~azure.keyvault.certificates.models.CertificatePolicy :raises: :class:`~azure.core.exceptions.HttpResponseError` """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs) ======= bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.get_certificate_policy( + vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs + ) +>>>>>>> ran black on keyvault return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace @@ -431,8 +453,8 @@ def update_certificate_properties( :dedent: 8 """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -474,11 +496,15 @@ def backup_certificate(self, name, **kwargs): :dedent: 8 """ backup_result = self._client.backup_certificate( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return backup_result.value @@ -633,7 +659,9 @@ def create_contacts(self, contacts, **kwargs): :dedent: 8 """ contacts = self._client.set_certificate_contacts( - vault_base_url=self.vault_endpoint, contact_list=[c._to_certificate_contacts_item() for c in contacts], **kwargs + vault_base_url=self.vault_endpoint, + contact_list=[c._to_certificate_contacts_item() for c in contacts], + **kwargs ) return [Contact._from_certificate_contacts_item(contact_item=item) for item in contacts.contact_list] @@ -701,11 +729,15 @@ def get_certificate_operation(self, name, **kwargs): """ bundle = self._client.get_certificate_operation( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -774,8 +806,8 @@ def merge_certificate( - *tags (dict[str, str])* - Application specific metadata in the form of key-value pairs. """ - enabled = kwargs.pop('enabled', None) - tags = kwargs.pop('tags', None) + enabled = kwargs.pop("enabled", None) + tags = kwargs.pop("tags", None) if enabled is not None: attributes = self._client.models.CertificateAttributes(enabled=enabled) @@ -868,11 +900,15 @@ def get_issuer(self, name, **kwargs): :dedent: 8 """ issuer_bundle = self._client.get_certificate_issuer( +<<<<<<< HEAD <<<<<<< HEAD vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs ======= vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) @@ -917,7 +953,7 @@ def create_issuer( :dedent: 8 """ - enabled = kwargs.pop('enabled', None) + enabled = kwargs.pop("enabled", None) if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) @@ -989,7 +1025,7 @@ def update_issuer( - *enabled (bool)* - Determines whether the object is enabled. """ - enabled = kwargs.pop('enabled', None) + enabled = kwargs.pop("enabled", None) if account_id or password: issuer_credentials = self._client.models.IssuerCredentials(account_id=account_id, password=password) diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py index 76a272d816a9..23c93b5ac98a 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client.py @@ -20,7 +20,9 @@ class VaultClient(KeyVaultClientBase): def __init__(self, vault_endpoint, credential, transport=None, api_version=None, **kwargs): # type: (str, TokenCredential, Optional[HttpTransport], Optional[str], **Any) -> None - super(VaultClient, self).__init__(vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs) + super(VaultClient, self).__init__( + vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs + ) self._certificates = CertificateClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py index a9539423ddfd..bc14de5299f8 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/certificates_vault_client_async.py @@ -27,7 +27,9 @@ def __init__( api_version: str = None, **kwargs: Any ) -> None: - super(VaultClient, self).__init__(vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs) + super(VaultClient, self).__init__( + vault_endpoint, credential, transport=transport, api_version=api_version, **kwargs + ) self._certificates = CertificateClient(self.vault_endpoint, credential, generated_client=self._client, **kwargs) @property diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py index 2aeed4ee4d09..ae53b1309b9c 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client.py @@ -307,7 +307,15 @@ def test_list_certificate_versions(self, vault_client, **kwargs): try: cert_bundle = self._import_common_certificate(client=client, cert_name=cert_name)[0] parsed_id = parse_vault_id(url=cert_bundle.id) - cid = parsed_id.vault_endpoint + "/" + parsed_id.collection + "/" + parsed_id.name + "/" + parsed_id.version + cid = ( + parsed_id.vault_endpoint + + "/" + + parsed_id.collection + + "/" + + parsed_id.name + + "/" + + parsed_id.version + ) expected[cid.strip("/")] = cert_bundle except Exception as ex: if hasattr(ex, "message") and "Throttled" in ex.message: @@ -485,7 +493,9 @@ def test_policy(self, vault_client, **kwargs): issuer_parameters=IssuerParameters(name="Self"), ) - client.update_policy(certificate_name=cert_name, policy=CertificatePolicy._from_certificate_policy_bundle(cert_policy)) + client.update_policy( + certificate_name=cert_name, policy=CertificatePolicy._from_certificate_policy_bundle(cert_policy) + ) updated_cert_policy = client.get_policy(certificate_name=cert_name) self.assertIsNotNone(updated_cert_policy) diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py index 10a58295b61c..8359bb44b80b 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/test_certificates_client_async.py @@ -306,7 +306,15 @@ async def test_list_certificate_versions(self, vault_client, **kwargs): try: cert_bundle = (await self._import_common_certificate(client=client, cert_name=cert_name))[0] parsed_id = parse_vault_id(url=cert_bundle.id) - cid = parsed_id.vault_endpoint + "/" + parsed_id.collection + "/" + parsed_id.name + "/" + parsed_id.version + cid = ( + parsed_id.vault_endpoint + + "/" + + parsed_id.collection + + "/" + + parsed_id.name + + "/" + + parsed_id.version + ) expected[cid.strip("/")] = cert_bundle except Exception as ex: if hasattr(ex, "message") and "Throttled" in ex.message: diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py index d0e26fb615b4..b571e27fe9dd 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/async_client_base.py @@ -28,9 +28,7 @@ class AsyncKeyVaultClientBase: """Base class for async Key Vault clients""" @staticmethod - def _create_config( - credential: "TokenCredential", api_version: str = None, **kwargs: "**Any" - ) -> Configuration: + def _create_config(credential: "TokenCredential", api_version: str = None, **kwargs: "**Any") -> Configuration: if api_version is None: api_version = KeyVaultClient.DEFAULT_API_VERSION config = KeyVaultClient.get_configuration_class(api_version, aio=True)(credential, **kwargs) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py index 5c9edb65cae6..99384754ba8e 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py @@ -62,7 +62,7 @@ async def create_key( expires: Optional[datetime] = None, not_before: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any" + **kwargs: "**Any", ) -> Key: """Create a key. If ``name`` is already in use, create a new version of the key. Requires the keys/create permission. @@ -120,7 +120,7 @@ async def create_rsa_key( expires: Optional[datetime] = None, not_before: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any" + **kwargs: "**Any", ) -> Key: """Create a new RSA key. If ``name`` is already in use, create a new version of the key. Requires the keys/create permission. @@ -171,7 +171,7 @@ async def create_ec_key( expires: Optional[datetime] = None, not_before: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any" + **kwargs: "**Any", ) -> Key: """Create a new elliptic curve key. If ``name`` is already in use, create a new version of the key. Requires the keys/create permission. @@ -231,11 +231,15 @@ async def delete_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Delete a key :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace_async @@ -261,11 +265,15 @@ async def get_key(self, name: str, version: Optional[str] = None, **kwargs: "**A if version is None: version = "" +<<<<<<< HEAD <<<<<<< HEAD bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=_error_map, **kwargs) ======= bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace_async @@ -288,11 +296,15 @@ async def get_deleted_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Get a deleted key :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -339,7 +351,7 @@ def list_keys(self, **kwargs: "**Any") -> AsyncIterable[KeyProperties]: self.vault_endpoint, maxresults=max_results, cls=lambda objs: [KeyProperties._from_key_item(x) for x in objs], - **kwargs + **kwargs, ) @distributed_trace @@ -422,7 +434,7 @@ async def update_key_properties( not_before: Optional[datetime] = None, expires: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any" + **kwargs: "**Any", ) -> Key: """Change attributes of a key. Cannot change a key's cryptographic material. Requires the keys/update permission. @@ -489,11 +501,15 @@ async def backup_key(self, name: str, **kwargs: "**Any") -> bytes: :caption: Get a key backup :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return backup_result.value @distributed_trace_async @@ -519,11 +535,15 @@ async def restore_key(self, backup: bytes, **kwargs: "**Any") -> Key: :caption: Restore a key backup :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) ======= bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace_async @@ -536,7 +556,7 @@ async def import_key( not_before: Optional[datetime] = None, expires: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any" + **kwargs: "**Any", ) -> Key: """Import an externally created key. If ``name`` is already in use, import the key as a new version. Requires the keys/import permission. @@ -559,6 +579,12 @@ async def import_key( else: attributes = None bundle = await self._client.import_key( - self.vault_endpoint, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs + self.vault_endpoint, + name, + key=key._to_generated_model(), + hsm=hsm, + key_attributes=attributes, + tags=tags, + **kwargs, ) return Key._from_key_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py index c75a00430edf..7faf22efec53 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py @@ -245,11 +245,15 @@ def delete_key(self, name, **kwargs): :caption: Delete a key :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= bundle = self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -273,11 +277,17 @@ def get_key(self, name, version=None, **kwargs): :caption: Get a key :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=_error_map, **kwargs) ======= bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.get_key( + self.vault_endpoint, name, key_version=version or "", error_map=_error_map, **kwargs + ) +>>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace @@ -302,11 +312,15 @@ def get_deleted_key(self, name, **kwargs): :dedent: 8 """ # TODO: which exception is raised when soft-delete is not enabled +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -509,11 +523,15 @@ def backup_key(self, name, **kwargs): :caption: Get a key backup :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return backup_result.value @distributed_trace @@ -540,11 +558,15 @@ def restore_key(self, backup, **kwargs): :caption: Restore a key backup :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) ======= bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace @@ -581,6 +603,12 @@ def import_key( else: attributes = None bundle = self._client.import_key( - self.vault_endpoint, name, key=key._to_generated_model(), hsm=hsm, key_attributes=attributes, tags=tags, **kwargs + self.vault_endpoint, + name, + key=key._to_generated_model(), + hsm=hsm, + key_attributes=attributes, + tags=tags, + **kwargs ) return Key._from_key_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/algorithms/aes_cbc.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/algorithms/aes_cbc.py index 821f9cf1743d..8e7d22e58e68 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/algorithms/aes_cbc.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/algorithms/aes_cbc.py @@ -24,6 +24,7 @@ def transform(self, data): def block_size(self): pass + class _AesCbcDecryptor(_AesCbcCryptoTransform): def __init__(self, key, iv): super(_AesCbcDecryptor, self).__init__(key, iv) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py index 6f68634b6628..94e386fe2ef3 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/aio/client.py @@ -88,7 +88,9 @@ def __init__(self, key: "Union[Key, str]", credential: "TokenCredential", **kwar self._internal_key = None # type: Optional[_Key] - super(CryptographyClient, self).__init__(vault_endpoint=self._key_id.vault_endpoint, credential=credential, **kwargs) + super(CryptographyClient, self).__init__( + vault_endpoint=self._key_id.vault_endpoint, credential=credential, **kwargs + ) @property def key_id(self) -> str: diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py index 17b772404f40..8728ea97a9b6 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/client.py @@ -91,7 +91,9 @@ def __init__(self, key, credential, **kwargs): self._internal_key = None # type: Optional[_Key] - super(CryptographyClient, self).__init__(vault_endpoint=self._key_id.vault_endpoint, credential=credential, **kwargs) + super(CryptographyClient, self).__init__( + vault_endpoint=self._key_id.vault_endpoint, credential=credential, **kwargs + ) @property def key_id(self): diff --git a/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py b/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py index 50dc72743cee..fe7d7af4e36b 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/hello_world.py @@ -66,9 +66,17 @@ # associated with a key previously stored within Key Vault. print("\n.. Update a Key by name") expires = datetime.datetime.utcnow() + datetime.timedelta(days=365) - updated_ec_key = client.update_key_properties(ec_key.name, ec_key.properties.version, expires=expires, enabled=False) - print("Key with name '{0}' was updated on date '{1}'".format(updated_ec_key.name, updated_ec_key.properties.updated)) - print("Key with name '{0}' was updated to expire on '{1}'".format(updated_ec_key.name, updated_ec_key.properties.expires)) + updated_ec_key = client.update_key_properties( + ec_key.name, ec_key.properties.version, expires=expires, enabled=False + ) + print( + "Key with name '{0}' was updated on date '{1}'".format(updated_ec_key.name, updated_ec_key.properties.updated) + ) + print( + "Key with name '{0}' was updated to expire on '{1}'".format( + updated_ec_key.name, updated_ec_key.properties.expires + ) + ) # The RSA key is no longer used, need to delete it from the Key Vault. print("\n.. Delete Keys") diff --git a/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py b/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py index a7d66e76240b..82f7687a39f1 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/hello_world_async.py @@ -67,9 +67,19 @@ async def run_sample(): # associated with a key previously stored within Key Vault. print("\n.. Update a Key by name") expires = datetime.datetime.utcnow() + datetime.timedelta(days=365) - updated_ec_key = await client.update_key_properties(ec_key.name, ec_key.properties.version, expires=expires, enabled=False) - print("Key with name '{0}' was updated on date '{1}'".format(updated_ec_key.name, updated_ec_key.properties.updated)) - print("Key with name '{0}' was updated to expire on '{1}'".format(updated_ec_key.name, updated_ec_key.properties.expires)) + updated_ec_key = await client.update_key_properties( + ec_key.name, ec_key.properties.version, expires=expires, enabled=False + ) + print( + "Key with name '{0}' was updated on date '{1}'".format( + updated_ec_key.name, updated_ec_key.properties.updated + ) + ) + print( + "Key with name '{0}' was updated to expire on '{1}'".format( + updated_ec_key.name, updated_ec_key.properties.expires + ) + ) # The keys are no longer used, let's delete them print("\n.. Deleting keys") diff --git a/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py b/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py index 64b49365e898..8b8f20e31cf3 100644 --- a/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py +++ b/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py @@ -59,9 +59,7 @@ for key in keys: retrieved_key = client.get_key(key.name) print( - "Key with name '{0}' with type '{1}' was found.".format( - retrieved_key.name, retrieved_key.key_material.kty - ) + "Key with name '{0}' with type '{1}' was found.".format(retrieved_key.name, retrieved_key.key_material.kty) ) # The rsa key size now should now be 3072, default - 2048. So you want to update the key in Key Vault to ensure diff --git a/sdk/keyvault/azure-keyvault-keys/tests/keys_async_preparer.py b/sdk/keyvault/azure-keyvault-keys/tests/keys_async_preparer.py index 4db357acc42b..291254524f04 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/keys_async_preparer.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/keys_async_preparer.py @@ -19,6 +19,7 @@ class AiohttpTestTransport(AioHttpTransport): """Workaround to vcrpy bug: https://github.com/kevin1024/vcrpy/pull/461 """ + async def send(self, request, **config): response = await super(AiohttpTestTransport, self).send(request, **config) if not isinstance(response.headers, CIMultiDictProxy): diff --git a/sdk/keyvault/azure-keyvault-keys/tests/keys_preparer.py b/sdk/keyvault/azure-keyvault-keys/tests/keys_preparer.py index a04cb238fd40..80c8416ecac7 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/keys_preparer.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/keys_preparer.py @@ -40,7 +40,7 @@ storage=[perm.value for perm in StoragePermissions], ) DEFAULT_SKU = SkuName.premium.value -CLIENT_OID = '00000000-0000-0000-0000-000000000000' +CLIENT_OID = "00000000-0000-0000-0000-000000000000" class VaultClientPreparer(AzureMgmtPreparer): @@ -91,7 +91,7 @@ def _get_resource_group(self, **kwargs): raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) def create_resource(self, name, **kwargs): - self.client_oid = self.test_class_instance.set_value_to_scrub('CLIENT_OID', CLIENT_OID) + self.client_oid = self.test_class_instance.set_value_to_scrub("CLIENT_OID", CLIENT_OID) if self.is_live: # create a vault with the management client group = self._get_resource_group(**kwargs).name diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py index 5e5cc2dfff4f..0d5479e9f42d 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client.py @@ -27,7 +27,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) - self.assertTrue(key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes." + ) def _import_test_key(self, client, name): def _to_bytes(hex): diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py index 536c32858d54..2dbac0b33a0a 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_key_client.py @@ -58,7 +58,9 @@ def _validate_ec_key_bundle(self, key_attributes, vault, key_name, kty): self.assertEqual(key_curve, key.crv) self.assertTrue(kid.index(prefix) == 0, "Key Id should start with '{}', but value is '{}'".format(prefix, kid)) self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) - self.assertTrue(key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes." + ) def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops): prefix = "/".join(s.strip("/") for s in [vault, "keys", key_name]) @@ -68,7 +70,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) - self.assertTrue(key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes." + ) def _update_key_properties(self, client, key): expires = date_parse.parse("2050-01-02T08:00:00.000Z") diff --git a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py index 23113f142ea9..5eb3795c60b5 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py @@ -60,7 +60,9 @@ def _validate_ec_key_bundle(self, key_attributes, vault, key_name, kty): self.assertEqual(key_curve, key.crv) self.assertTrue(kid.index(prefix) == 0, "Key Id should start with '{}', but value is '{}'".format(prefix, kid)) self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) - self.assertTrue(key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes." + ) def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops): prefix = "/".join(s.strip("/") for s in [vault, "keys", key_name]) @@ -70,7 +72,9 @@ def _validate_rsa_key_bundle(self, key_attributes, vault, key_name, kty, key_ops self.assertEqual(key.kty, kty, "kty should by '{}', but is '{}'".format(key, key.kty)) self.assertTrue(key.n and key.e, "Bad RSA public material.") self.assertEqual(key_ops, key.key_ops, "keyOps should be '{}', but is '{}'".format(key_ops, key.key_ops)) - self.assertTrue(key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + key_attributes.properties.created and key_attributes.properties.updated, "Missing required date attributes." + ) async def _update_key_properties(self, client, key): expires = date_parse.parse("2050-01-02T08:00:00.000Z") @@ -148,7 +152,9 @@ async def test_key_crud_operations(self, vault_client, **kwargs): self._assert_key_attributes_equal(created_rsa_key.properties, key.properties) # get key without version - self._assert_key_attributes_equal(created_rsa_key.properties, (await client.get_key(created_rsa_key.name)).properties) + self._assert_key_attributes_equal( + created_rsa_key.properties, (await client.get_key(created_rsa_key.name)).properties + ) # update key with version if self.is_live: diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py index d0e26fb615b4..b571e27fe9dd 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py @@ -28,9 +28,7 @@ class AsyncKeyVaultClientBase: """Base class for async Key Vault clients""" @staticmethod - def _create_config( - credential: "TokenCredential", api_version: str = None, **kwargs: "**Any" - ) -> Configuration: + def _create_config(credential: "TokenCredential", api_version: str = None, **kwargs: "**Any") -> Configuration: if api_version is None: api_version = KeyVaultClient.DEFAULT_API_VERSION config = KeyVaultClient.get_configuration_class(api_version, aio=True)(credential, **kwargs) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py index d5eb64e911e6..186f66433342 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py @@ -51,11 +51,15 @@ async def get_secret(self, name: str, version: Optional[str] = None, **kwargs: " :dedent: 8 """ bundle = await self._client.get_secret( +<<<<<<< HEAD <<<<<<< HEAD self.vault_endpoint, name, version or "", error_map=_error_map, **kwargs ======= self.vault_endpoint, name, version or "", error_map={404: ResourceNotFoundError}, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + self.vault_endpoint, name, version or "", error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return Secret._from_secret_bundle(bundle) @@ -97,7 +101,13 @@ async def set_secret( else: attributes = None bundle = await self._client.set_secret( - self.vault_endpoint, name, value, secret_attributes=attributes, content_type=content_type, tags=tags, **kwargs + self.vault_endpoint, + name, + value, + secret_attributes=attributes, + content_type=content_type, + tags=tags, + **kwargs ) return Secret._from_secret_bundle(bundle) @@ -223,11 +233,15 @@ async def backup_secret(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_secret( +<<<<<<< HEAD <<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs ======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + self.vault_endpoint, name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return backup_result.value @@ -251,11 +265,15 @@ async def restore_secret(self, backup: bytes, **kwargs: "**Any") -> SecretProper :dedent: 8 """ bundle = await self._client.restore_secret( +<<<<<<< HEAD <<<<<<< HEAD self.vault_endpoint, backup, error_map=_error_map, **kwargs ======= self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + self.vault_endpoint, backup, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return SecretProperties._from_secret_bundle(bundle) @@ -278,11 +296,15 @@ async def delete_secret(self, name: str, **kwargs: "**Any") -> DeletedSecret: :dedent: 8 """ bundle = await self._client.delete_secret( +<<<<<<< HEAD <<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs ======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + self.vault_endpoint, name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return DeletedSecret._from_deleted_secret_bundle(bundle) @@ -306,11 +328,15 @@ async def get_deleted_secret(self, name: str, **kwargs: "**Any") -> DeletedSecre :dedent: 8 """ bundle = await self._client.get_deleted_secret( +<<<<<<< HEAD <<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs ======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + self.vault_endpoint, name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return DeletedSecret._from_deleted_secret_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py index bb816e21d30b..84cc3d7f5348 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py @@ -247,11 +247,15 @@ def backup_secret(self, name, **kwargs): """ backup_result = self._client.backup_secret( +<<<<<<< HEAD <<<<<<< HEAD self.vault_endpoint, name, error_map=_error_map, **kwargs ======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs >>>>>>> switched vault_url to vault_endpoint across key vault +======= + self.vault_endpoint, name, error_map=_error_map, **kwargs +>>>>>>> ran black on keyvault ) return backup_result.value @@ -276,11 +280,17 @@ def restore_secret(self, backup, **kwargs): :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map=_error_map, **kwargs) ======= bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.restore_secret( + self.vault_endpoint, backup, error_map=_error_map, **kwargs + ) +>>>>>>> ran black on keyvault return SecretProperties._from_secret_bundle(bundle) @distributed_trace @@ -303,11 +313,15 @@ def delete_secret(self, name, **kwargs): :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.delete_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= bundle = self._client.delete_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.delete_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) +>>>>>>> ran black on keyvault return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace @@ -331,11 +345,17 @@ def get_deleted_secret(self, name, **kwargs): :dedent: 8 """ +<<<<<<< HEAD <<<<<<< HEAD bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) ======= bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) >>>>>>> switched vault_url to vault_endpoint across key vault +======= + bundle = self._client.get_deleted_secret( + self.vault_endpoint, name, error_map=_error_map, **kwargs + ) +>>>>>>> ran black on keyvault return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py index 5793acfded96..9722abcf002f 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/models.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. # ------------------------------------ from ._shared import parse_vault_id + try: from typing import TYPE_CHECKING except ImportError: @@ -176,8 +177,8 @@ def _from_secret_bundle(cls, secret_bundle): # type: (_models.SecretBundle) -> Secret """Construct a Secret from an autorest-generated SecretBundle""" return cls( - properties=SecretProperties._from_secret_bundle(secret_bundle), #pylint: disable=protected-access - value=secret_bundle.value + properties=SecretProperties._from_secret_bundle(secret_bundle), # pylint: disable=protected-access + value=secret_bundle.value, ) @property @@ -218,10 +219,10 @@ class DeletedSecret(object): def __init__( self, - properties, # type: SecretProperties + properties, # type: SecretProperties deleted_date=None, # type: Optional[datetime] recovery_id=None, # type: Optional[str] - scheduled_purge_date=None # type: Optional[datetime] + scheduled_purge_date=None, # type: Optional[datetime] ): # type: (...) -> None self._properties = properties @@ -234,7 +235,7 @@ def _from_deleted_secret_bundle(cls, deleted_secret_bundle): # type: (_models.DeletedSecretBundle) -> DeletedSecret """Construct a DeletedSecret from an autorest-generated DeletedSecretBundle""" return cls( - properties=SecretProperties._from_secret_bundle(deleted_secret_bundle), #pylint: disable=protected-access + properties=SecretProperties._from_secret_bundle(deleted_secret_bundle), # pylint: disable=protected-access deleted_date=deleted_secret_bundle.deleted_date, recovery_id=deleted_secret_bundle.recovery_id, scheduled_purge_date=deleted_secret_bundle.scheduled_purge_date, @@ -245,7 +246,7 @@ def _from_deleted_secret_item(cls, deleted_secret_item): # type: (_models.DeletedSecretItem) -> DeletedSecret """Construct a DeletedSecret from an autorest-generated DeletedSecretItem""" return cls( - properties=SecretProperties._from_secret_item(deleted_secret_item), #pylint: disable=protected-access + properties=SecretProperties._from_secret_item(deleted_secret_item), # pylint: disable=protected-access deleted_date=deleted_secret_item.deleted_date, recovery_id=deleted_secret_item.recovery_id, scheduled_purge_date=deleted_secret_item.scheduled_purge_date, diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py index 8cafea8dfd0b..29e25e155dfe 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py @@ -59,7 +59,11 @@ def run_sample(): expires = bank_secret.properties.expires + datetime.timedelta(days=365) updated_secret_properties = client.update_secret_properties(secret.name, expires=expires) print("Secret with name '{0}' was updated on date '{1}'".format(secret.name, updated_secret_properties.updated)) - print("Secret with name '{0}' was updated to expire on '{1}'".format(secret.name, updated_secret_properties.expires)) + print( + "Secret with name '{0}' was updated to expire on '{1}'".format( + secret.name, updated_secret_properties.expires + ) + ) # Bank forced a password update for security purposes. Let's change the value of the secret in the Key Vault. # To achieve this, we need to create a new version of the secret in the Key Vault. The update operation cannot diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py index d6515df4f7c8..0d6f31b191cd 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py @@ -58,9 +58,15 @@ async def run_sample(): print("\n.. Update a Secret by name") expires = bank_secret.properties.expires + datetime.timedelta(days=365) updated_secret_properties = await client.update_secret_properties(secret.name, expires=expires) - print("Secret with name '{0}' was updated on date '{1}'".format(updated_secret_properties.name, updated_secret_properties.updated)) print( - "Secret with name '{0}' was updated to expire on '{1}'".format(updated_secret_properties.name, updated_secret_properties.expires) + "Secret with name '{0}' was updated on date '{1}'".format( + updated_secret_properties.name, updated_secret_properties.updated + ) + ) + print( + "Secret with name '{0}' was updated to expire on '{1}'".format( + updated_secret_properties.name, updated_secret_properties.expires + ) ) # Bank forced a password update for security purposes. Let's change the value of the secret in the key vault. diff --git a/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py b/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py index 22b5a48efe5a..b3d19cde3a13 100644 --- a/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py +++ b/sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py @@ -72,7 +72,11 @@ def run_sample(): print("\n.. List versions of the secret using its name") secret_versions = client.list_secret_versions(bank_secret.name) for secret_version in secret_versions: - print("Bank Secret with name '{0}' has version: '{1}'.".format(secret_version.name, secret_version.properties.version)) + print( + "Bank Secret with name '{0}' has version: '{1}'.".format( + secret_version.name, secret_version.properties.version + ) + ) # The bank account and storage accounts got closed. Let's delete bank and storage accounts secrets. client.delete_secret(bank_secret.name) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_async_preparer.py b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_async_preparer.py index da13fcdc54c8..bc6f831c1d6f 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_async_preparer.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_async_preparer.py @@ -19,6 +19,7 @@ class AiohttpTestTransport(AioHttpTransport): """Workaround to vcrpy bug: https://github.com/kevin1024/vcrpy/pull/461 """ + async def send(self, request, **config): response = await super(AiohttpTestTransport, self).send(request, **config) if not isinstance(response.headers, CIMultiDictProxy): diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_preparer.py b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_preparer.py index 2c19732edbaf..830c8d494b6e 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/secrets_preparer.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/secrets_preparer.py @@ -40,7 +40,7 @@ storage=[perm.value for perm in StoragePermissions], ) DEFAULT_SKU = SkuName.premium.value -CLIENT_OID = '00000000-0000-0000-0000-000000000000' +CLIENT_OID = "00000000-0000-0000-0000-000000000000" class VaultClientPreparer(AzureMgmtPreparer): @@ -91,7 +91,7 @@ def _get_resource_group(self, **kwargs): raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) def create_resource(self, name, **kwargs): - self.client_oid = self.test_class_instance.set_value_to_scrub('CLIENT_OID', CLIENT_OID) + self.client_oid = self.test_class_instance.set_value_to_scrub("CLIENT_OID", CLIENT_OID) if self.is_live: # create a vault with the management client group = self._get_resource_group(**kwargs).name diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py index 5fb707fe6a01..ff3bdabdabc8 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets.py @@ -69,7 +69,9 @@ def test_example_secret_crud_operations(self, vault_client, **kwargs): content_type = "text/plain" tags = {"foo": "updated tag"} - updated_secret_properties = secret_client.update_secret_properties("secret-name", content_type=content_type, tags=tags) + updated_secret_properties = secret_client.update_secret_properties( + "secret-name", content_type=content_type, tags=tags + ) print(updated_secret_properties.version) print(updated_secret_properties.updated) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py index 630a72226803..6c11dabba90d 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_samples_secrets_async.py @@ -70,7 +70,9 @@ async def test_example_secret_crud_operations(self, vault_client, **kwargs): # update attributes of an existing secret content_type = "text/plain" tags = {"foo": "updated tag"} - updated_secret_properties = await secret_client.update_secret_properties("secret-name", content_type=content_type, tags=tags) + updated_secret_properties = await secret_client.update_secret_properties( + "secret-name", content_type=content_type, tags=tags + ) print(updated_secret_properties.version) print(updated_secret_properties.updated) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py index 0e6a3472dae8..0632f7be411c 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py @@ -35,7 +35,10 @@ def _validate_secret_bundle(self, secret_attributes, vault, secret_name, secret_ secret_value, "value should be '{}', but is '{}'".format(secret_value, secret_attributes.value), ) - self.assertTrue(secret_attributes.properties.created and secret_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + secret_attributes.properties.created and secret_attributes.properties.updated, + "Missing required date attributes.", + ) async def _validate_secret_list(self, secrets, expected): async for secret in secrets: @@ -85,7 +88,12 @@ async def _update_secret(secret): tags = {"foo": "updated tag"} enabled = not secret.properties.enabled updated_secret = await client.update_secret_properties( - secret.name, secret.properties.version, content_type=content_type, expires=expires, tags=tags, enabled=enabled + secret.name, + secret.properties.version, + content_type=content_type, + expires=expires, + tags=tags, + enabled=enabled, ) self.assertEqual(tags, updated_secret.tags) self.assertEqual(secret.id, updated_secret.id) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py index e5c6f9406c01..c84b02f033be 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py @@ -34,7 +34,10 @@ def _validate_secret_bundle(self, secret_attributes, vault, secret_name, secret_ secret_value, "value should be '{}', but is '{}'".format(secret_value, secret_attributes.value), ) - self.assertTrue(secret_attributes.properties.created and secret_attributes.properties.updated, "Missing required date attributes.") + self.assertTrue( + secret_attributes.properties.created and secret_attributes.properties.updated, + "Missing required date attributes.", + ) def _validate_secret_list(self, secrets, expected): for secret in secrets: @@ -80,7 +83,9 @@ def test_secret_crud_operations(self, vault_client, **kwargs): self.assertEqual(tags, created.properties.tags) self._assert_secret_attributes_equal(created.properties, client.get_secret(created.name).properties) - self._assert_secret_attributes_equal(created.properties, client.get_secret(created.name, created.properties.version).properties) + self._assert_secret_attributes_equal( + created.properties, client.get_secret(created.name, created.properties.version).properties + ) def _update_secret(secret): content_type = "text/plain" @@ -88,7 +93,12 @@ def _update_secret(secret): tags = {"foo": "updated tag"} enabled = not secret.properties.enabled updated_secret = client.update_secret_properties( - secret.name, secret.properties.version, content_type=content_type, expires=expires, tags=tags, enabled=enabled + secret.name, + secret.properties.version, + content_type=content_type, + expires=expires, + tags=tags, + enabled=enabled, ) self.assertEqual(tags, updated_secret.tags) self.assertEqual(secret.id, updated_secret.id) From de77e4cf0f426cf075b39eca1aaa856be769ccc9 Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Mon, 7 Oct 2019 11:38:21 -0700 Subject: [PATCH 18/19] reverted << Cer :dedent: 8 """ bundle = await self._client.get_certificate( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs -======= - vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs ->>>>>>> ran black on keyvault ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -169,7 +161,7 @@ async def get_certificate(self, name: str, version: str, **kwargs: "**Any") -> C vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version, - error_map=_error_map, + error_map=error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -199,11 +191,7 @@ async def delete_certificate(self, name: str, **kwargs: "**Any") -> DeletedCerti :dedent: 8 """ bundle = await self._client.delete_certificate( -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -232,11 +220,7 @@ async def get_deleted_certificate(self, name: str, **kwargs: "**Any") -> Deleted :dedent: 8 """ bundle = await self._client.get_deleted_certificate( -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -353,11 +337,7 @@ async def get_policy(self, certificate_name: str, **kwargs: "**Any") -> Certific :raises: :class:`~azure.core.exceptions.HttpResponseError` """ bundle = await self._client.get_certificate_policy( -<<<<<<< HEAD vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs -======= - vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @@ -379,11 +359,7 @@ async def update_policy( """ bundle = await self._client.update_certificate_policy( vault_base_url=self.vault_endpoint, -<<<<<<< HEAD certificate_name=certificate_name, -======= - certificate_name=name, ->>>>>>> switched vault_url to vault_endpoint across key vault certificate_policy=policy._to_certificate_policy_bundle(), **kwargs ) @@ -460,11 +436,7 @@ async def backup_certificate(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_certificate( -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return backup_result.value @@ -695,11 +667,7 @@ async def get_certificate_operation(self, name: str, **kwargs: "**Any") -> Certi """ bundle = await self._client.get_certificate_operation( -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -719,11 +687,7 @@ async def delete_certificate_operation(self, name: str, **kwargs: "**Any") -> Ce :class:`~azure.core.exceptions.HttpResponseError` for other errors """ bundle = await self._client.delete_certificate_operation( -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -786,7 +750,7 @@ async def get_pending_certificate_signing_request( response = pipeline_response.http_response if response.status_code not in [200]: - self._client.map_error(status_code=response.status_code, response=response, error_map=_error_map) + self._client.map_error(status_code=response.status_code, response=response, error_map=error_map) raise self._client.models.KeyVaultErrorException(response, self._client._deserialize) deserialized = None @@ -858,11 +822,7 @@ async def get_issuer(self, name: str, **kwargs: "**Any") -> Issuer: :dedent: 8 """ issuer_bundle = await self._client.get_certificate_issuer( -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py index ddf07cbcf782..024b135e7798 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/client.py @@ -11,7 +11,7 @@ from azure.core.tracing.decorator import distributed_trace from ._shared import KeyVaultClientBase -from ._shared.exceptions import error_map as _error_map +from ._shared.exceptions import error_map from .models import ( Certificate, CertificateProperties, @@ -140,19 +140,11 @@ def get_certificate_with_policy(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_certificate( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=_error_map, **kwargs -======= - vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version="", - error_map=_error_map, + error_map=error_map, **kwargs ->>>>>>> ran black on keyvault ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -184,7 +176,7 @@ def get_certificate(self, name, version, **kwargs): vault_base_url=self.vault_endpoint, certificate_name=name, certificate_version=version, - error_map=_error_map, + error_map=error_map, **kwargs ) return Certificate._from_certificate_bundle(certificate_bundle=bundle) @@ -215,15 +207,7 @@ def delete_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.delete_certificate( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -253,15 +237,7 @@ def get_deleted_certificate(self, name, **kwargs): :dedent: 8 """ bundle = self._client.get_deleted_certificate( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return DeletedCertificate._from_deleted_certificate_bundle(deleted_certificate_bundle=bundle) @@ -379,17 +355,9 @@ def get_policy(self, certificate_name, **kwargs): :rtype: ~azure.keyvault.certificates.models.CertificatePolicy :raises: :class:`~azure.core.exceptions.HttpResponseError` """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs) -======= - bundle = self._client.get_certificate_policy(vault_base_url=self.vault_endpoint, certificate_name=name, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= bundle = self._client.get_certificate_policy( vault_base_url=self.vault_endpoint, certificate_name=certificate_name, **kwargs ) ->>>>>>> ran black on keyvault return CertificatePolicy._from_certificate_policy_bundle(certificate_policy_bundle=bundle) @distributed_trace @@ -409,11 +377,7 @@ def update_policy(self, certificate_name, policy, **kwargs): """ bundle = self._client.update_certificate_policy( vault_base_url=self.vault_endpoint, -<<<<<<< HEAD certificate_name=certificate_name, -======= - certificate_name=name, ->>>>>>> switched vault_url to vault_endpoint across key vault certificate_policy=policy._to_certificate_policy_bundle(), **kwargs ) @@ -496,15 +460,7 @@ def backup_certificate(self, name, **kwargs): :dedent: 8 """ backup_result = self._client.backup_certificate( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return backup_result.value @@ -729,15 +685,7 @@ def get_certificate_operation(self, name, **kwargs): """ bundle = self._client.get_certificate_operation( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, certificate_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - vault_base_url=self.vault_endpoint, certificate_name=name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return CertificateOperation._from_certificate_operation_bundle(certificate_operation_bundle=bundle) @@ -866,7 +814,7 @@ def get_pending_certificate_signing_request( response = pipeline_response.http_response if response.status_code not in [200]: - self._client.map_error(status_code=response.status_code, response=response, error_map=_error_map) + self._client.map_error(status_code=response.status_code, response=response, error_map=error_map) raise self._client.models.KeyVaultErrorException(response, self._client._deserialize) deserialized = None @@ -900,15 +848,7 @@ def get_issuer(self, name, **kwargs): :dedent: 8 """ issuer_bundle = self._client.get_certificate_issuer( -<<<<<<< HEAD -<<<<<<< HEAD - vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs -======= vault_base_url=self.vault_endpoint, issuer_name=name, error_map=error_map, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - vault_base_url=self.vault_endpoint, issuer_name=name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return Issuer._from_issuer_bundle(issuer_bundle=issuer_bundle) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py index 99384754ba8e..a54fdad70797 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py @@ -10,7 +10,7 @@ from azure.keyvault.keys.models import DeletedKey, JsonWebKey, Key, KeyProperties from azure.keyvault.keys._shared import AsyncKeyVaultClientBase -from .._shared.exceptions import error_map as _error_map +from .._shared.exceptions import error_map from ..crypto.aio import CryptographyClient @@ -231,15 +231,7 @@ async def delete_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Delete a key :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = await self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace_async @@ -265,15 +257,7 @@ async def get_key(self, name: str, version: Optional[str] = None, **kwargs: "**A if version is None: version = "" -<<<<<<< HEAD -<<<<<<< HEAD - bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=_error_map, **kwargs) -======= bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = await self._client.get_key(self.vault_endpoint, name, version, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace_async @@ -296,15 +280,7 @@ async def get_deleted_key(self, name: str, **kwargs: "**Any") -> DeletedKey: :caption: Get a deleted key :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = await self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -473,7 +449,7 @@ async def update_key_properties( key_ops=key_operations, tags=tags, key_attributes=attributes, - error_map=_error_map, + error_map=error_map, **kwargs, ) return Key._from_key_bundle(bundle) @@ -501,15 +477,7 @@ async def backup_key(self, name: str, **kwargs: "**Any") -> bytes: :caption: Get a key backup :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - backup_result = await self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return backup_result.value @distributed_trace_async @@ -535,15 +503,7 @@ async def restore_key(self, backup: bytes, **kwargs: "**Any") -> Key: :caption: Restore a key backup :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) -======= bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = await self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace_async diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py index 7faf22efec53..38dd2a359d24 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py @@ -5,7 +5,7 @@ from azure.core.tracing.decorator import distributed_trace from ._shared import KeyVaultClientBase -from ._shared.exceptions import error_map as _error_map +from ._shared.exceptions import error_map from .crypto import CryptographyClient from .models import Key, KeyProperties, DeletedKey @@ -245,15 +245,7 @@ def delete_key(self, name, **kwargs): :caption: Delete a key :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= bundle = self._client.delete_key(self.vault_endpoint, name, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = self._client.delete_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -277,17 +269,9 @@ def get_key(self, name, version=None, **kwargs): :caption: Get a key :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=_error_map, **kwargs) -======= - bundle = self._client.get_key(self.vault_endpoint, name, key_version=version or "", error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= bundle = self._client.get_key( - self.vault_endpoint, name, key_version=version or "", error_map=_error_map, **kwargs + self.vault_endpoint, name, key_version=version or "", error_map=error_map, **kwargs ) ->>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace @@ -312,15 +296,7 @@ def get_deleted_key(self, name, **kwargs): :dedent: 8 """ # TODO: which exception is raised when soft-delete is not enabled -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = self._client.get_deleted_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return DeletedKey._from_deleted_key_bundle(bundle) @distributed_trace @@ -494,7 +470,7 @@ def update_key_properties( key_ops=key_operations, tags=tags, key_attributes=attributes, - error_map=_error_map, + error_map=error_map, **kwargs ) return Key._from_key_bundle(bundle) @@ -523,15 +499,7 @@ def backup_key(self, name, **kwargs): :caption: Get a key backup :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - backup_result = self._client.backup_key(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return backup_result.value @distributed_trace @@ -558,15 +526,7 @@ def restore_key(self, backup, **kwargs): :caption: Restore a key backup :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) -======= bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=error_map, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = self._client.restore_key(self.vault_endpoint, backup, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return Key._from_key_bundle(bundle) @distributed_trace diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py index 186f66433342..77114a272c16 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/client.py @@ -5,12 +5,12 @@ from datetime import datetime from typing import Any, AsyncIterable, Optional, Dict +from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async from azure.keyvault.secrets.models import Secret, DeletedSecret, SecretProperties from .._shared import AsyncKeyVaultClientBase -from .._shared.exceptions import error_map as _error_map class SecretClient(AsyncKeyVaultClientBase): @@ -51,15 +51,7 @@ async def get_secret(self, name: str, version: Optional[str] = None, **kwargs: " :dedent: 8 """ bundle = await self._client.get_secret( -<<<<<<< HEAD -<<<<<<< HEAD - self.vault_endpoint, name, version or "", error_map=_error_map, **kwargs -======= self.vault_endpoint, name, version or "", error_map={404: ResourceNotFoundError}, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - self.vault_endpoint, name, version or "", error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return Secret._from_secret_bundle(bundle) @@ -158,7 +150,7 @@ async def update_secret_properties( content_type=content_type, tags=tags, secret_attributes=attributes, - error_map=_error_map, + error_map={404: ResourceNotFoundError}, **kwargs ) return SecretProperties._from_secret_bundle(bundle) # pylint: disable=protected-access @@ -233,15 +225,7 @@ async def backup_secret(self, name: str, **kwargs: "**Any") -> bytes: :dedent: 8 """ backup_result = await self._client.backup_secret( -<<<<<<< HEAD -<<<<<<< HEAD - self.vault_endpoint, name, error_map=_error_map, **kwargs -======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - self.vault_endpoint, name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return backup_result.value @@ -265,15 +249,7 @@ async def restore_secret(self, backup: bytes, **kwargs: "**Any") -> SecretProper :dedent: 8 """ bundle = await self._client.restore_secret( -<<<<<<< HEAD -<<<<<<< HEAD - self.vault_endpoint, backup, error_map=_error_map, **kwargs -======= self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - self.vault_endpoint, backup, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return SecretProperties._from_secret_bundle(bundle) @@ -296,15 +272,7 @@ async def delete_secret(self, name: str, **kwargs: "**Any") -> DeletedSecret: :dedent: 8 """ bundle = await self._client.delete_secret( -<<<<<<< HEAD -<<<<<<< HEAD - self.vault_endpoint, name, error_map=_error_map, **kwargs -======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - self.vault_endpoint, name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return DeletedSecret._from_deleted_secret_bundle(bundle) @@ -328,15 +296,7 @@ async def get_deleted_secret(self, name: str, **kwargs: "**Any") -> DeletedSecre :dedent: 8 """ bundle = await self._client.get_deleted_secret( -<<<<<<< HEAD -<<<<<<< HEAD - self.vault_endpoint, name, error_map=_error_map, **kwargs -======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - self.vault_endpoint, name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return DeletedSecret._from_deleted_secret_bundle(bundle) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py index 84cc3d7f5348..ce910faf6ba9 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/client.py @@ -2,10 +2,10 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ +from azure.core.exceptions import ResourceExistsError, ResourceNotFoundError from azure.core.tracing.decorator import distributed_trace from ._shared import KeyVaultClientBase -from ._shared.exceptions import error_map as _error_map from .models import Secret, DeletedSecret, SecretProperties try: @@ -62,7 +62,7 @@ def get_secret(self, name, version=None, **kwargs): vault_base_url=self._vault_endpoint, secret_name=name, secret_version=version or "", - error_map=_error_map, + error_map={404: ResourceNotFoundError}, **kwargs ) return Secret._from_secret_bundle(bundle) @@ -166,7 +166,7 @@ def update_secret_properties( content_type=content_type, tags=tags, secret_attributes=attributes, - error_map=_error_map, + error_map={404: ResourceNotFoundError}, **kwargs ) return SecretProperties._from_secret_bundle(bundle) # pylint: disable=protected-access @@ -247,15 +247,7 @@ def backup_secret(self, name, **kwargs): """ backup_result = self._client.backup_secret( -<<<<<<< HEAD -<<<<<<< HEAD - self.vault_endpoint, name, error_map=_error_map, **kwargs -======= self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - self.vault_endpoint, name, error_map=_error_map, **kwargs ->>>>>>> ran black on keyvault ) return backup_result.value @@ -280,17 +272,9 @@ def restore_secret(self, backup, **kwargs): :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map=_error_map, **kwargs) -======= - bundle = self._client.restore_secret(self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= bundle = self._client.restore_secret( - self.vault_endpoint, backup, error_map=_error_map, **kwargs + self.vault_endpoint, backup, error_map={409: ResourceExistsError}, **kwargs ) ->>>>>>> ran black on keyvault return SecretProperties._from_secret_bundle(bundle) @distributed_trace @@ -313,15 +297,7 @@ def delete_secret(self, name, **kwargs): :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.delete_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= bundle = self._client.delete_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= - bundle = self._client.delete_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) ->>>>>>> ran black on keyvault return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace @@ -345,17 +321,9 @@ def get_deleted_secret(self, name, **kwargs): :dedent: 8 """ -<<<<<<< HEAD -<<<<<<< HEAD - bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map=_error_map, **kwargs) -======= - bundle = self._client.get_deleted_secret(self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs) ->>>>>>> switched vault_url to vault_endpoint across key vault -======= bundle = self._client.get_deleted_secret( - self.vault_endpoint, name, error_map=_error_map, **kwargs + self.vault_endpoint, name, error_map={404: ResourceNotFoundError}, **kwargs ) ->>>>>>> ran black on keyvault return DeletedSecret._from_deleted_secret_bundle(bundle) @distributed_trace From dd7c29323d53a27ab38e7c0b8f40844c439f6207 Mon Sep 17 00:00:00 2001 From: Isabella Cai Date: Mon, 7 Oct 2019 12:58:12 -0700 Subject: [PATCH 19/19] got rid of black changes that broke python 3.5 --- .../azure/keyvault/keys/aio/client.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py index 71e643453be1..bcc250709797 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/aio/client.py @@ -62,7 +62,7 @@ async def create_key( expires: Optional[datetime] = None, not_before: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any", + **kwargs: "**Any" ) -> Key: """Create a key. If ``name`` is already in use, create a new version of the key. Requires the keys/create permission. @@ -120,7 +120,7 @@ async def create_rsa_key( expires: Optional[datetime] = None, not_before: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any", + **kwargs: "**Any" ) -> Key: """Create a new RSA key. If ``name`` is already in use, create a new version of the key. Requires the keys/create permission. @@ -171,7 +171,7 @@ async def create_ec_key( expires: Optional[datetime] = None, not_before: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any", + **kwargs: "**Any" ) -> Key: """Create a new elliptic curve key. If ``name`` is already in use, create a new version of the key. Requires the keys/create permission. @@ -410,7 +410,7 @@ async def update_key_properties( not_before: Optional[datetime] = None, expires: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any", + **kwargs: "**Any" ) -> Key: """Change attributes of a key. Cannot change a key's cryptographic material. Requires the keys/update permission. @@ -516,7 +516,7 @@ async def import_key( not_before: Optional[datetime] = None, expires: Optional[datetime] = None, tags: Optional[Dict[str, str]] = None, - **kwargs: "**Any", + **kwargs: "**Any" ) -> Key: """Import an externally created key. If ``name`` is already in use, import the key as a new version. Requires the keys/import permission.